Friday, June 10, 2011

On Types [and Clojure seq]

Interesting essay on the meaning of (seq ...)

http://kotka.de/blog/2011/06/On_types.html

The work horse in the very low-level code of the sequence library is the lazy-seqmacro. It returns an instance of class clojure.lang.LazySeq which encapsulates the abstract instructions to realise the actual sequence according to the body of the lazy-seq macro.

Should this class implement the clojure.lang.ISeq interface?

Posted via email from miner49r

No comments: