Skip to content

Instantly share code, notes, and snippets.

@fabioyamate
Last active December 15, 2015 06:49
Show Gist options
  • Save fabioyamate/5218942 to your computer and use it in GitHub Desktop.
Save fabioyamate/5218942 to your computer and use it in GitHub Desktop.
Some notes to use repl with clojure libraries
; 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