Unit 2. Meet the Clojure REPL

 

Now that you are familiar with the Clojure syntax, it’s time to write code for real, in a live environment and to see the evaluation results of your code.

In this Unit, you are going to install Clojure on your machine and set up a REPL program that will allow you to evaluate Clojure expressions in an interactive way.

From now on, all the code snippets of the book are meant to be evaluated in the REPL.

In the current Unit, we will discuss the following topics:

  • Lesson 8 explains how to install Clojure and the REPL on your machine
  • Lesson 9 explores more features of the REPL

Throughout this book, we will use a REPL named the Klipse REPL, developed by the author. The Klipse REPL has been created with one goal in mind: to make your Clojure learning experience as pleasant as possible. The Klipse REPL runs on top of an open source REPL named rebel-readline developed by Bruce Hauman.