Guest User

Untitled

a guest
Apr 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. object Main extends Actor {
  2. def act {
  3. react {
  4. case d: Double => println("received")
  5. }
  6. }
  7.  
  8. def main(args: Array[String]) {
  9. act
  10. }
  11. }
Add Comment
Please, Sign In to add comment