References Discussions and feedback Warning::Book re-write in progress Hint::Quote: Adrian Cockcroft. Cloud Architect, Netflix Creative commons license Clojure is a simpl...
Immutability Immutabile data structures Immutability There is a strong emphasis on immutability in Clojure. Rather than create variables that change, Clojure uses values that...
Card game: spec and generative testing Create a project Hint::Use practicalli/clojure-deps-edn to add common tools Add the Clojure spec namespace Representing playing cards Re...
Create a Leiningen project Hint::Alternatively clone the github repository Updating Clojure version and licence TODO::Add Clojure CLI project configuration Create a Leininge...
Does a value conform to a specification? Require the Clojure spec library Using conform Does a value conform to a specification? clojure.spec.alpha/conform takes two argumen...
Projects using Clojure spec - next-jdbc Defining specifications Instrumenting specifications Projects using Clojure spec - next-jdbc The next-jdbc project is a modern low-lev...
With Vectors of Vectors With Vectors of Vectors The most frequent use of you will see is in the project.clj file, where a vector of vectors is used to model the library depen...
Creating Clojure projects Hint::Install clj-new and other aliases Create a project with clj-new and the app template Hint::Install rebel and other aliases NOTE::Try the proje...
Thinking Functionally Thinking Functionally In this section I cover some simple examples of Clojure code to help you think about the concepts involved in functional programming...
Higher order functions Higher order functions Higher order functions are common in Clojure and spec provides fspec to support spec’ing them. ( defn value - added - tax [ ...