Created
May 17, 2015 12:24
-
-
Save nickleeh/1fe4f6154d911f0c37b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val fibs: Stream[Int] = 0 #:: fibs.scanLeft(1)(_ + _) | |
fibs.take(20).toList | |
fibs take 20 toList | |
val fibs: Stream[BigInt] = 0 #:: fibs.scanLeft(1)(_ + _) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment