Just FYI, some background on keywords that start with a number... The reader docs (http://clojure.org/reader) states that symbols (and keywords follow symbols in these rules) must "begin with a non-numeric character". The current Clojure reader accidentally accepts these due to a bug in the LispReader regex that reads symbols. We applied a fix for this bug early in Clojure 1.6 (http://dev.clojure.org/jira/browse/CLJ-1252). We then discovered that this broke code in a number of libraries and applications (often in test data, but also in some real code). Due to this issue, we rolled back the change.
There is still an open ticket to do something to resolve this (likely by changing what we say is allowed) - this may have impacts on EDN as well. http://dev.clojure.org/jira/browse/CLJ-1286 Alex On Tuesday, April 22, 2014 6:11:23 PM UTC-5, squeegee wrote: > > > On Apr 22, 2014, at 5:37 PM, Greg D <gregoir...@gmail.com <javascript:>> > wrote: > > I believe this is a problem in REPL-y, which is used when using 'lein > repl'. > > I used Cider to start a nREPL server, then used 'leing repl :connect' to > get the REPL-y interface. > > The problem was evident in the latter, but not the former. I opened an > issue for REPL-y. > > Thanks again, Steve > > > You’re welcome! > > Following on your evidence, I tried running REPL-y from a checkout and > found that the current head of master (0.3.1-SNAPSHOT) doesn’t throw the > exception, but the current release (0.3.0) does. > > I used git bisect to find the commit that changed the behavior and found > this: > > https://github.com/trptcolin/reply/issues/132 (Reader error on > number-like keywords in maps) > > The fix is here: https://github.com/cgrand/sjacket/pull/16 (Number-like > keywords) > > So, to avoid the exception you saw when using number-like keywords with > lein repl, REPL-y needs a release and leiningen needs to pick it up. > > … and we got a view of a slice of the Clojure lib ecosystem… three layers > deep. Neat. > > Cheers, > > —Steve > > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.