May 2018
Beginner to intermediate
290 pages
6h 43m
English
If you are interested in the ins and outs of implementing Clojure, you should definitely check out the MAL project.[33] MAL, short for Make a Lisp, defines a simple Clojure-like language and then proceeds to implement it in (as of this writing) 68 languages, everything from Ada to Visual Basic.
You can find a great example of the power of using plain old Clojure values for both code and data in metadata. Metadata is extra data that you can hang on Clojure symbols and collections, data that in some ways enhances your value without being an official part of the value.
There are two ways you can hang some metadata on a value. You can do it either explicitly with the with-meta function:
| | (def books1 (with-meta ["Emma" "1984" ... |
Read now
Unlock full access