diff options
author | Philipp Haller <hallerp@gmail.com> | 2007-02-02 15:17:51 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2007-02-02 15:17:51 +0000 |
commit | 7cc5c06947e40236ee16a6a09d3de524183fda86 (patch) | |
tree | 8b22f79f79ffcb4b8485a3c6b21380efdc66d903 /docs/examples/actors/Loop.scala | |
parent | 8c1bbafee4c68ccd158786deb4643d5a3074ce0d (diff) | |
download | scala-7cc5c06947e40236ee16a6a09d3de524183fda86.tar.gz scala-7cc5c06947e40236ee16a6a09d3de524183fda86.tar.bz2 scala-7cc5c06947e40236ee16a6a09d3de524183fda86.zip |
Cleaned-up actor examples.
Diffstat (limited to 'docs/examples/actors/Loop.scala')
-rw-r--r-- | docs/examples/actors/Loop.scala | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/examples/actors/Loop.scala b/docs/examples/actors/Loop.scala deleted file mode 100644 index 45270cd35d..0000000000 --- a/docs/examples/actors/Loop.scala +++ /dev/null @@ -1,20 +0,0 @@ -package examples.actors - -import scala.actors.Actor._ - -object Loop extends Application { - - case object A - - val a = actor { - loop { - react { - case A => scala.Console.println("got A") - } - } - } - - for (val i <- 0 until 10) { - a ! A - } -} |