Hi,

during some examinations about the broken REPL with current Slime I
found that I can't create names with a trailing %:

Clojure 1.1.0-alpha-SNAPSHOT
user=> (def %thisworks 11)
#'user/%thisworks
user=> %thisworks
11
user=> (def %thisdoesnt% 22)
java.lang.Exception: Too many arguments to def (NO_SOURCE_FILE:3)
user=>

According to http://clojure.org/reader : "Symbols begin with a non-
numeric character and can contain alphanumeric characters and *, +, !,
-, _, and ? (other characters will be allowed eventually, but not all
macro characters have been determined)"

So, am I right, that "non-numeric character" for the first char
includes the percent-sign whereas the explicit list for all following
characters doesn't.

Rather peculiar, I think.  Not?

Kind regards,
Stefan

PS: The background of this is, that Slime is sending a "%CURSOR-MARKER
%" down the line.

-- 
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

Reply via email to