http://w01fe.com/blog/2009/01/pleasant-surprise-clojures-apply-is-lazy/
The snippet:
(apply distinct? (interleave (iterate inc 0) (iterate inc 10)))
As he says: Sweet!(apply distinct? (interleave (iterate inc 0) (iterate inc 10)))
As he says: Sweet!
No comments:
Post a Comment