Friday, 20 February 2009

Lazy Clojure, Slime and Emacs

The latest version of Swank Clojure is now compatible with the recent lazy changes to Clojure.

The most visible changes:

  • Use lazy-seq to construct things, lazy-cons is gone for example:

    user> (lazy-seq (cons 1 (cons 2 (cons 3 ()))))
    (1 2 3)

  • Nil punning is gone (mentioned before)