On 2010 Apr 2, at 8:06 AM, Rich Hickey wrote:
On Apr 1, 2010, at 7:37 AM, Konrad Hinsen wrote:
- Two characters, . and /, are treated specially even though this is not or not clearly stated in the documnentation. Better don't use those in unqualified symbols.

Hmm. There are two sentences in http://clojure.org/reader that begin " '/' has special meaning" and " '.' has special meaning" respectively. Is that not enough?

As the OP, that was clear to me.
I know not to try to use miles/gallon as a simple symbol.

In my (old) Common Lisp code, I had two kinds of symbols that used '>' characters:
        foo->bar
        >bar
The first was a simple foo to bar converter, the second was multimethod for converting many different kinds of things to a bar.

-Doug

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