Reputation: 451
I've never used clojure before and I'm trying to get the 'domonad' function/macro so I can play with it and learn from this tutorial on monads which is quite good. I heard it was in clojure-contrib, then moved to clojure.algo
I tried
user=> (ns your-namespace
(:require clojure.contrib.monads))
FileNotFoundException Could not locate clojure/contrib/monads__init.class or clojure/contrib/monads.clj on classpath: clojure.lang.RT.load (RT.java:443)
user=> (ns your-namespace
(:require clojure.algo.monads))
FileNotFoundException Could not locate clojure/algo/monads__init.class or clojure/contrib/monads.clj on classpath: clojure.lang.RT.load (RT.java:443)
Nothing works. I think I don't know how to use libraries.
How can I get this dependency?
Upvotes: 1
Views: 367
Reputation: 91554
The short answer is Use Leiningen for project management in clojure.
[org.clojure/algo.monads "0.1.5"]
Upvotes: 6