jeudi 2 octobre 2014

Getting Clojure to run (lein repl)


Vote count:

0




I'm just trying to get Clojure set up. Here is some code that I am trying to run in lein repl:



(def numbers (into [] (range 0 100)))
(sum numbers)


But I get this error:



CompilerException java.lang.RuntimeException: Unable to resolve symbol: sum in this context, compiling:(NO_SOURCE_PATH:1:1)



I don't know what this means. Is my installation wrong?



asked 26 secs ago

usr55410

1,677






Getting Clojure to run (lein repl)

Aucun commentaire:

Enregistrer un commentaire