diff -r 9d8b172f5337 -r 5e4696ebd8dc progs/lecture3.scala --- a/progs/lecture3.scala Thu Nov 24 15:06:42 2016 +0000 +++ b/progs/lecture3.scala Fri Nov 25 12:10:00 2016 +0000 @@ -292,6 +292,8 @@ val primes: Stream[Int] = generatePrimes(Stream.from(2)) +primes.take(10).toList + primes.filter(_ > 100).take(2000).toList time_needed(1, primes.filter(_ > 100).take(2000).toList)