Y
Hacker News
new
|
ask
|
show
|
jobs
by
uninverted
6137 days ago
I think you need laziness to be a little more prevalent than that before it makes a difference. Haskell's super-concise Fibonacci sequence illustrates that:
let fib = 1 : 1 : zipWith (+) fib (tail fib)
1 comments
cunningjames
6137 days ago
You may need to reevaluate what's possible in Clojure.
(def fib (lazy-cat [1 1] (map + fib (rest fib))))
link
uninverted
6136 days ago
...Man, Clojure seems to have just about everything from every language ever.
link