diff options
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/actors/Joins.scala | 1 | ||||
-rw-r--r-- | docs/examples/actors/Loop.scala | 2 | ||||
-rw-r--r-- | docs/examples/actors/Seq.scala | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/docs/examples/actors/Joins.scala b/docs/examples/actors/Joins.scala index 637cb5d092..29ff220709 100644 --- a/docs/examples/actors/Joins.scala +++ b/docs/examples/actors/Joins.scala @@ -23,7 +23,6 @@ abstract class Producer[T] extends Iterator[T] { private case object Done private case object Continue - /** A thread-based coordinator */ private val coordinator = actor { while (true) { receive { diff --git a/docs/examples/actors/Loop.scala b/docs/examples/actors/Loop.scala index a70554a505..45270cd35d 100644 --- a/docs/examples/actors/Loop.scala +++ b/docs/examples/actors/Loop.scala @@ -6,7 +6,7 @@ object Loop extends Application { case object A - val a = reactor { + val a = actor { loop { react { case A => scala.Console.println("got A") diff --git a/docs/examples/actors/Seq.scala b/docs/examples/actors/Seq.scala index 382c6c2d79..fe9f2bf7bf 100644 --- a/docs/examples/actors/Seq.scala +++ b/docs/examples/actors/Seq.scala @@ -6,7 +6,7 @@ object Seq extends Application { case object A - val a = reactor { + val a = actor { { react { case A => scala.Console.println("got A") |