Hmmm. Actually, as Meikel noted, this should be fine, and it does indeed work for me:
(ns your-namespace (:require clojure.contrib.io)) The only time I got the "Don't know how to create ISeq from: clojure.lang.Symbol" exception is when I erroneously copy-pasted and tried to evaluate this: (ns your-namespace > (:require clojure.contrib.io)) On Aug 11, 2:46 am, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > On 11 Aug., 10:19, Folcon <fol...@gmail.com> wrote: > > > The stacktrace is as follows: > > > Backtrace: > > 0: clojure.lang.LazySeq.sval(LazySeq.java:47) > > <useless stuff snipped> > > Wow. Emacs really goes out of its way to hide what's going on. If you > try your code in a normal repl it should tell you the file where > things go wrong. Also the "caused by" lines tell you the chain of > causes. Not the location information ("bar.clj:1") alsthough the 1 is > entirely correct. > > user=> (require 'foo.bar) > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.IllegalArgumentException: Don't know how to create ISe > q from: clojure.lang.Symbol (bar.clj:1) > user=> (.printStackTrace *e) > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.IllegalArgumentException: Don't know how to create ISeq > from: clojure.lang.Symbol (bar.clj:1) > at clojure.lang.Compiler.eval(Compiler.java:5435) > <snip> > at clojure.main.main(main.java:37) > Caused by: java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.IllegalArgumentException: Don't know how to > create ISeq from: clojure.lang.Symbol > at clojure.lang.LazySeq.sval(LazySeq.java:47) > <snip> > at clojure.lang.Compiler.macroexpand(Compiler.java:5336) > at clojure.lang.Compiler.eval(Compiler.java:5404) > ... 32 more > Caused by: java.lang.RuntimeException: > java.lang.IllegalArgumentException: Don't know how to create ISeq > from: clojure.l > ang.Symbol > at clojure.lang.LazySeq.sval(LazySeq.java:47) > <snip> > at clojure.lang.LazySeq.sval(LazySeq.java:42) > ... 45 more > Caused by: java.lang.IllegalArgumentException: Don't know how to > create ISeq from: clojure.lang.Symbol > at clojure.lang.RT.seqFrom(RT.java:471) > <snip> > at clojure.lang.LazySeq.sval(LazySeq.java:42) > ... 50 more > > Sincerely > Meikel -- 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 Note that posts from new members are moderated - please be patient with your first post. 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