10. Extending the Compiler with a Macro

Building on what we learned about macros in the previous chapter, we’ll now look at an example of a macro that converts blocking code to non-blocking code.

Assumptions

In this chapter we make the following assumptions:

Image You know how to use Leiningen to create and run applications.

Image You are receptive to the idea that macros are easily overused and should be used sparingly.

Image You have read through the Appendix ...

Get Clojure Recipes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.