Skip to content

Instantly share code, notes, and snippets.

@elight
Last active December 10, 2015 02:58
Show Gist options
  • Select an option

  • Save elight/4370908 to your computer and use it in GitHub Desktop.

Select an option

Save elight/4370908 to your computer and use it in GitHub Desktop.
FP_OO Chapter 10.9 Exercise Prerequisites:
1. Install leinengen
I hope you're using this already to run your repl...
2. lein new playground
This will create you a directory called playground
3. Edit playground/project.clj
4. Change the :dependencies line to read thusly:
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/algo.monads "0.1.0"]])
5. From your playground directory:
lein deps
6. Quit out of your repl and restart it
7. (use 'clojure.algo.monads)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment