O'Reilly logo

Clojure Recipes by Julian Gamble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required