Re: Clarification on # as valid symbol character

2016-11-08 Thread Steven Yi
Hi Andy, Thanks for this, I hadn't realized there was a ticket and prior discussion. I've voted on the ticket and will add a mention of '#' and this thread to the ticket. All best, steven On Tuesday, November 8, 2016 at 11:31:03 AM UTC-5, Andy Fingerhut wrote: > > Steven: > > Regarding Alex M

Re: Clarification on # as valid symbol character

2016-11-08 Thread Andy Fingerhut
Steven: Regarding Alex Miller's "Voting" message of today, you could consider voting on this related ticket if you are so inclined: http://dev.clojure.org/jira/browse/CLJ-1527 I just realized that having a warning in a lint tool like Eastwood for using characters other than those explicitly endor

Re: Clarification on # as valid symbol character

2016-11-08 Thread Steven Yi
Hi Alex, Thanks for the reply, that was how I understood the intention of that text as well. It is ambiguous though, considering the discussion of auto-gensyms later in the page mentions: "If a symbol is non-namespace-qualified and ends with '#', it is resolved to a generated symbol with the

Re: Clarification on # as valid symbol character

2016-11-08 Thread Steven Yi
Hi Ikuru, I'm afraid that section of the site doesn't really clear it up for me. There's a difference between when # is found as the initial character of the next item to read and when it's in the middle or end (i.e., auto-gensyms). (It's okay though; I'll reply further in my reply to Alex's

Re: Clarification on # as valid symbol character

2016-11-07 Thread Alex Miller
On Monday, November 7, 2016 at 6:33:49 PM UTC-6, Steven Yi wrote: > > Hi All, > > I wanted to understand whether '#' may be treated as a valid character > for symbols. The Clojure site [1] has: > > "Symbols begin with a non-numeric character and can contain > alphanumeric characters and *, +,

Re: Clarification on # as valid symbol character

2016-11-07 Thread Ikuru Kanuma
Hi Steven! I think all of those cases are covered in the reader reference' reader dispatch section: http://clojure.org/reference/reader#_dispatch Basically when the reader encounters a '#' it does the appropriate dispatch action depending on what follows. As it is a special character handled by

Clarification on # as valid symbol character

2016-11-07 Thread Steven Yi
Hi All, I wanted to understand whether '#' may be treated as a valid character for symbols. The Clojure site [1] has: "Symbols begin with a non-numeric character and can contain alphanumeric characters and *, +, !, -, _, ', and ? (other characters may be allowed eventually)." I realized I was us