Re: puzzled by RuntimeException

2014-04-25 Thread Alex Miller
On Friday, April 25, 2014 1:32:32 PM UTC-5, Ben wrote: > > On Fri, Apr 25, 2014 at 11:19 AM, Alex Miller > > > wrote: > >> >> >> On Friday, April 25, 2014 9:48:10 AM UTC-5, Greg D wrote: >>> >>> Thanks Alex and Steve, >>> >>> I've based a ton of work on keywords where the second character is >

Re: puzzled by RuntimeException

2014-04-25 Thread Ben Wolfson
On Fri, Apr 25, 2014 at 11:19 AM, Alex Miller wrote: > > > On Friday, April 25, 2014 9:48:10 AM UTC-5, Greg D wrote: >> >> Thanks Alex and Steve, >> >> I've based a ton of work on keywords where the second character is >> numeric. >> >> The http://clojure.org/readers page should be the normative

Re: puzzled by RuntimeException

2014-04-25 Thread Alex Miller
On Friday, April 25, 2014 9:48:10 AM UTC-5, Greg D wrote: > > Thanks Alex and Steve, > > I've based a ton of work on keywords where the second character is numeric. > > The http://clojure.org/readers page should be the normative reference. >> > > The work is based on *reliance* on the definitions

Re: puzzled by RuntimeException

2014-04-25 Thread Greg D
Thanks Alex and Steve, I've based a ton of work on keywords where the second character is numeric. The http://clojure.org/readers page should be the normative reference. > The work is based on *reliance* on the definitions in the readers page. I believe it is unambiguous in demanding a colon as

Re: puzzled by RuntimeException

2014-04-23 Thread Alex Miller
On Wednesday, April 23, 2014 11:24:44 AM UTC-5, squeegee wrote: > > > 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 > chara

Re: puzzled by RuntimeException

2014-04-23 Thread Stephen Gilardi
> 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". Thanks, Alex. The REPL-y and sjacket issues cited the Clojure issues

Re: puzzled by RuntimeException

2014-04-22 Thread Alex Miller
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 Lis

Re: puzzled by RuntimeException

2014-04-22 Thread Stephen Gilardi
On Apr 22, 2014, at 5:37 PM, Greg D 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

Re: puzzled by RuntimeException

2014-04-22 Thread Greg D
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: puzzled by RuntimeException

2014-04-21 Thread Greg D
Steve, Thanks. I did a quick check, and it seems that I don't get exceptions when I start the repl as you do. I normally start mine with 'lein repl'. You've given me a good lead to investigate. Greg -- You received this message because you are subscribed to the Google Groups "Clojure" gro

Re: puzzled by RuntimeException

2014-04-21 Thread Stephen Gilardi
> The sequence in the transcript below shows runtime exceptions when a numeric > keyword is followed by a list starting with a symbol or character. > > Would anyone help me with a reason for the failing cases? > > user=> (clojure-version) > "1.6.0" > user=> '(:42 a) > (:42 a) > user=> '(:42 "a"

puzzled by RuntimeException

2014-04-21 Thread Greg D
The sequence in the transcript below shows runtime exceptions when a numeric keyword is followed by a list starting with a symbol or character. Would anyone help me with a reason for the failing cases? user=> (clojure-version) "1.6.0" user=> '(:42 a) (:42 a) user=> '(:42 "a") (:42 "a") user=> '(