Created
February 4, 2014 22:03
-
-
Save markhibberd/8813250 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> import TypeCheckedTripleEquals._ | |
warning: there were 1 deprecation warning(s); re-run with -deprecation for details | |
import TypeCheckedTripleEquals._ | |
scala> def x[A](x: A, y: A): Boolean = x === y | |
warning: there were 1 deprecation warning(s); re-run with -deprecation for details | |
x: [A](x: A, y: A)Boolean | |
scala> x(1, ()) | |
warning: there were 1 deprecation warning(s); re-run with -deprecation for details | |
res0: Boolean = false | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment