Skip to content

Instantly share code, notes, and snippets.

@markhibberd
Created February 4, 2014 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markhibberd/8813250 to your computer and use it in GitHub Desktop.
Save markhibberd/8813250 to your computer and use it in GitHub Desktop.
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