Exception in thread "main" java.lang.Exception: Too many arguments to
def (test.clj:26)


both
(def test-list (list (:one :two :three)))
 and
(def test-list '(:one :two :three))
and changing the one/two/three into strings also gives me the error on
running. I don't get the error using the REPL. Bug?

I execute the script with 'java -cp clojure.jar clojure.lang.Script
test.clj'. Also, is there a way to compile my scripts into classes to
be used by other scripts (like my own custom utility class?)
ex.: 'javac -cp clojure.jar clojure.lang.Script test.clj'

Thanks, Timothy McDowell

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to