Skip to content

@mccv /gist:3251441
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Reverse Lambda, because fuck the next guy to read this
scala> class Foo {
| def <=: (f: (Int) => Boolean) = f(1)
| }
defined class Foo
scala> val f = new Foo()
f: Foo = Foo@a06812d
scala> { x:Int => true } <=: f
res5: Boolean = true
scala>
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.