Search code examples
clojurelispjvm-languages

Book for learning how to write Clojure/Lisp Macros


I'm reading "Programming Clojure" and I'm interested in a book that discusses how to create macros as extensive as possible.

Do you suggest a book for this?

Thanks.


Solution

  • The quintessential book on Lisp macros is probably Paul Graham's On Lisp. It used Common Lisp, though, but that doesn't matter too much if what you really want to look at it macros, although Clojure's are different on a number of levels. (Clojure being a Lisp-1, to begin with.)