Clojure for the Brave and True by Daniel Higginbotham

Clojure for the Brave and True by Daniel Higginbotham

Author:Daniel Higginbotham
Language: eng
Format: epub, mobi, pdf
Publisher: No Starch Press, Inc.
Published: 2015-07-21T16:00:00+00:00


The philosopher’s stone, along with the elixir of life and Viagra, is one of the most well-known specimens of alchemical lore, pursued for its ability to transmute lead into gold. Clojure, however, offers a tool that makes the philosopher’s stone look like a mere trinket: the macro.

Macros allow you to transform arbitrary expressions into valid Clojure, so you can extend the language itself to fit your needs. And you don’t even have to be a wizened old dude or lady in a robe to use them!

To get just a sip of this power, consider this trivial macro:

(defmacro backwards

[form]

(reverse form))



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.