Works fine for me in slime, came repl, and java -jar clojure.jar. The indentation isn't so hot for the raw repl, but what can you expect? The repl is fine; perhaps you should tell us how you're launching your repl, since that seems to be the source of the problem.
;; TABs added by me - the repl put everything in column 1 user=> (defn radix-tree-set [things] [(zipmap things (iterate inc 0)) 10]) #'user/radix-tree-set user=> (radix-tree-set [:a :b]) [{:b 1, :a 0} 10] On Apr 2, 1:00 pm, Ken Wesson <kwess...@gmail.com> wrote: > user=> (defn radix-tree-set [things] > [(zipmap things (iterate inc 0)) > #<Exception java.lang.Exception: Unmatched delimiter: )> > user=> #<Exception java.lang.Exception: Unmatched delimiter: )> > user=> > > WTF is going on here? Enter after the first line (with an unmatched > open parenthesis) moves to a second line instead of submitting the > form, as expected. However, enter after the second line produces > doubled unmatched-close-parenthesis messages, which is doubly > (quadruply?) bogus. Not only should it not be submitting the form yet, > instead giving me a third line aligned just after the unmatched [, but > there *isn't an unmatched close parenthesis anyway!* -- 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