Day 1: Training Luke

In Star Wars, the apprentice Luke joined with Yoda for advanced training in the ways of the Jedi. He had started his training under another. Like Luke, you have already started your training for functional languages. You used closures in Ruby and graduated to higher-order functions in Scala and Erlang. In this chapter, you’re going to learn to apply some of those concepts in Clojure.

Go to the Clojure home site at Follow the instructions to install Clojure on your platform and with your preferred development environment. I’m using a prerelease version of Clojure 1.2, and it should be fully ready by the time this book is in your hands. You may first need to install ...

Get Seven Languages in Seven Weeks now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.