Skip to content

Instantly share code, notes, and snippets.

@teamon
Created December 16, 2010 16:24
Show Gist options
  • Save teamon/743598 to your computer and use it in GitHub Desktop.
Save teamon/743598 to your computer and use it in GitHub Desktop.
(0 to Int.MaxValue) == Range() // empty!
class X extends Actor {
def act {
val a = actor {
loop {
receive { // FAIL, must use 'self.receive'
case ...
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment