diff options
Diffstat (limited to 'test/files/run/stream_flatmap_odds.scala')
-rw-r--r-- | test/files/run/stream_flatmap_odds.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/stream_flatmap_odds.scala b/test/files/run/stream_flatmap_odds.scala index ed1a537bd9..6fb202ca68 100644 --- a/test/files/run/stream_flatmap_odds.scala +++ b/test/files/run/stream_flatmap_odds.scala @@ -1,4 +1,4 @@ -object Test extends Application { +object Test extends App { lazy val odds: Stream[Int] = Stream(1) append ( odds flatMap {x => Stream(x + 2)} ) println(odds take 42 force) -}
\ No newline at end of file +} |