I have a problem that I am unable to solve by myself. I've been trying to use parts of the weld framework by Mark McGranaghan. However, clojure fails to compile it with an error I don't understand:
java.lang.IllegalArgumentException: Don't know how to create ISeq from: Symbol [Thrown class java.lang.RuntimeException] Restarts: 0: [ABORT] Return to SLIME's top level. 1: [CAUSE] Throw cause of this exception Backtrace: 0: clojure.lang.LazyCons.first(LazyCons.java:44) 1: clojure.lang.RT.first(RT.java:553) 2: clojure.core$first__3035.invoke(core.clj:43) 3: clojure.core$concat__3188$cat__3198.invoke(core.clj:457) 4: clojure.core$concat__3188.doInvoke(core.clj:458) 5: clojure.lang.RestFn.applyTo(RestFn.java:147) 6: clojure.core$apply__3161.doInvoke(core.clj:382) 7: clojure.lang.RestFn.invoke(RestFn.java:428) 8: clojure.core$mapcat__3739.doInvoke(core.clj:1452) 9: clojure.lang.RestFn.invoke(RestFn.java:428) --more-- I can't provide more information, because afterwards SLIME is completely broken and errors keep popping up every second or so. I've traced it down to one offending form in request_cookies.clj in weld: (defn cookies "If only the request is given, returns the map of all cookies for the request. If additional args are given, they are treated as keys with which to get-in from the cookies map". ([req] (cookie-parse (get-in req [:headers "cookie"]))) ([req & args] (get-in (cookies req) args))) If I comment out that form, everything loads fine. Also, Mark double-checked that weld loads and works fine for him. Any idea on what to do next? This is with Clojure r1279 and the latest commit in my swank-clojure is 581954d1fc0cb115a87233426bae5d53455eb4bb slime now sending additional argument to compile-file-for-emacs --J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---