Last active
December 12, 2015 10:38
-
-
Save sudowork/4760682 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> 1 + 1 | |
res0: Int = 2 | |
scala> (1).+(1) | |
res1: Int = 2 | |
scala> 2 + 5 * 8 | |
res2: Int = 42 | |
scala> (2).+((5).*(8)) | |
res3: Int = 42 | |
scala> 42. // Tab complete | |
!= ## % & * + - / < | |
<< <= <init> == > >= >> >>> ^ | |
asInstanceOf equals getClass hashCode isInstanceOf toByte toChar toDouble toFloat | |
toInt toLong toShort toString unary_+ unary_- unary_~ | | |
scala> "foo".size | |
res4: Int = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment