The best way to think about this whole process is to picture a phase between reading and evaluation: the macro expansion phase. Figure 7-6 shows how you can visualize the entire evaluation process for (infix (1 + 2)).
- Chapter 7: Clojure Alchemy: Reading, Evaluation, and Macros
- from Clojure for the Brave and True
- Publisher: No Starch Press
- Released: September 2015
Essa imagem é realmente esclarecedora. A macro obtém uma estrutura de dados e a transforma. Leitura -> Expansão -> Avaliação.
Share this highlighthttp://www.safaribooksonline.com/a/clojure-for-the/21196238/