newbie question: how to include external libraries from Leiningen REPL

2013-11-07 Thread Starry SHI
Hi, I am new to clojure and I find lein REPL very convenient to use. But I have one question: in REPL, how to include functions defined in other libraries and call them in my clojure code? For example, my code need to call square root function defined in clojure.contrib.math (included in clojur

Newbie questions: include external libraries from lein REPL

2013-11-07 Thread Starry SHI
Hi. I am new to clojure, and I find leiningen REPL is a convenient tool for clojure code testing. However, I find I cannot include external java libraries and call functions defined in those libraries from lein REPL. For example, my clojure code needs to compute square root, which is defined in