> 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=> '(:42 \a)
> (:42 \a)
> user=> '(:42 nil)
> (:42 nil)
> user=> '(:42 true)
> (:42 true)
> user=> '(:42 :43)
> (:42 :43)
> user=> '(:42 (a))
>
> RuntimeException EOF while reading, starting at line 1
> clojure.lang.Util.runtimeException (Util.java:221)
>
> RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException
> (Util.java:221)
> user=> '(:42 ("a"))
> (:42 ("a"))
> user=> '(:42 (\a))
I tried to duplicate this result with the clojure.main repl, but was unable to
do so. All entries in your post read in without raising an exception.
I used this command line to launch the repl:
% java -cp ~/.m2/repository/org/clojure/clojure/1.6.0/clojure-1.6.0.jar
clojure.main
--Steve
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.