News for hackers. Stuff that matters.
Re:Why use Clojure? by delluminatus on Tuesday December 24, 2013 @11:17AM (#6959914)
It looks like an error. The author probably based his code on an example from Wikibooks [1]:

    (def fib-seq
         (lazy-cat [0 1] (map + (rest fib-seq) fib-seq)))
But, since he added an argument to the function, I don't think his code actually works, even if you ran :s/fib-seq/fibonacci

[1]: https://en.wikibooks.org/wiki/Clojure_Programming/Examples/L...

There are no comments on this comment yet.