Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:148368
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
scala> None == None
res3: Boolean = true
 
scala> None == 10
<console>:5: warning: comparing non-null values of types object None and Int using `==' will always yield false
None == 10
^
res4: Boolean = false
 
scala> None > 10
<console>:5: error: value > is not a member of object None
None > 10
^
 
scala> None < 10
<console>:5: error: value < is not a member of object None
None < 10
^
scala> 10 == 10
res7: Boolean = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.