inconsistent behavior with #21

198 views
Skip to first unread message

hulk10086

unread,
Jul 18, 2012, 1:23:11 PM7/18/12
to 4clo...@googlegroups.com
Hello,

to solve #21 at first I've tried

#(first (next (reverse %1)))

in my lein repl and it woked just fine, but as I gave it a shot on 4clj it failed with a

java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to java.lang.CharSequence 

on the first test. Is it possibly a version problem or what's going on?

Thanks in advance!

Alan Malloy

unread,
Jul 18, 2012, 3:21:30 PM7/18/12
to 4clo...@googlegroups.com
Fixed. Somehow the sandbox was damaged so that 'reverse referred to 'clojure.string/reverse rather than 'clojure.core/reverse.
Reply all
Reply to author
Forward
0 new messages