1 | //Gives us the :: syntax for streams. From http://www.codecommit.com/blog/scala/infinite-lists-for-the-finitely-patient. |
Wednesday, August 5, 2009
A Scala version of Unle Bob's lazy PI sequence in Clojure
I follow Uncle Bob on twitter and I'm also currently learning Scala. When I saw his tweet about a lazily evaluated infinite PI sequence in Clojure I couldn't resist giving it a shot in Scala. Here's my result (it works!). Feedback is absolutely welcome.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment