Saturday, 28 September 2013

How use a function from algo.generic

How use a function from algo.generic

I'm trying to use from the Repl the algo.generic pow multifunction, in
order to learn clojure.
How can I use algo.generic from the Repl?
-I'm using lein repl.
-added [org.clojure/algo.generic "0.1.1"] at project.clj
-lein deps
=> (use 'clojure.algo.generic)
=> (pow 5 6)
CompilerException java.lang.RuntimeException: Unable to resolve symbol:
pow in this context,
compiling:(/tmp/form-init6907113967558511638.clj:1:1)`

Thanks..

No comments:

Post a Comment