Clojure provides a get function that returns the value mapped to a key in a set or map. The documentation shows the example: (get map key). While that's completely valid, I tend to use sets and maps ...
Note Define a collection of starwars characters using a map of maps. Each character should have an name that they are typically refered to, along with their fullname and skill Note* Create a slightly ...
Finding the version of Clojure you are using is as simple as executing one of the following commands inside the Clojure REPL, which you can enter by running clojure: # clojure Clojure 1.8.0 user=> ...
Lisp is one of those languages that people either love or hate. Count me among the Lisp lovers. I was brainwashed during my undergraduate studies at MIT to believe that Lisp is the only "real" ...