Last active
December 15, 2015 06:49
-
-
Save fabioyamate/5218942 to your computer and use it in GitHub Desktop.
Some notes to use repl with clojure libraries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; might not be the proper way to do it, but it is how I was able to run repl with some libraries | |
| ; in this case I created a lein project, add the monad dependency to the project, and then started | |
| ; a repl session, and run: | |
| ; | |
| ; need to include pomegranate | |
| ; | |
| ; it seems to be the best way to deal with it | |
| ; | |
| (use '[cemerick.pomegranate :only (add-dependencies)]) | |
| (add-dependencies :coordinates '[[org.clojure/algo.monads "0.1.4"]]) | |
| (use 'clojure.algo.monads) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment