Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#odersky-programming-in-scala-1ed #scala
Question
The only identifiers that can be used as prefix operators are [...] , - , ! , and ~ .
Answer
+

Tags
#odersky-programming-in-scala-1ed #scala
Question
The only identifiers that can be used as prefix operators are [...] , - , ! , and ~ .
Answer
?

Tags
#odersky-programming-in-scala-1ed #scala
Question
The only identifiers that can be used as prefix operators are [...] , - , ! , and ~ .
Answer
+
If you want to change selection, open original toplevel document below and click on "Move attachment"

Parent (intermediate) annotation

Open it
The only identifiers that can be used as prefix operators are + , - , ! , and ~ .

Original toplevel document

Basic Types and Operations
demonstrate this to yourself by typing the method call both via operator notation and explicitly: scala> -2.0 // Scala invokes (2.0).unary_- res2: Double = -2.0 scala> (2.0).unary_- res3: Double = -2.0 <span>The only identifiers that can be used as prefix operators are +, -, !, and ~. Thus, if you define a method named unary_!, you could invoke that method on a value or variable of the appropriate type using prefix operator notation, such as !p. But if you define a me

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.