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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.