According to the reader page, # isn't a valid character in a symbol/keyword.

http://clojure.org/reader

Thanks,
Ambrose


On Wed, May 1, 2013 at 10:22 PM, Dave Sann <daves...@gmail.com> wrote:

> I came across the following...
>
> ;; => ok;
> (let [v :abc] nil)
>
> ;; => ok;
> (let [v :abc]
>    nil)
>
> ;; => ok;
> (let [v :#abc]  nil)
>
> ;; => fail;
> (let [v :#abc]
>   nil)
>
>
> $ lein repl
> nREPL server started on port 33719
> REPL-y 0.1.10
> Clojure 1.5.1
>    ...
>
> user=> ;; => ok;
>
> user=> (let [v :abc] nil)
> nil
> user=>
>
> user=> ;; => ok;
>
> user=> (let [v :abc]
>   #_=>    nil)
> nil
> user=>
>
> user=> ;; => ok;
>
> user=> (let [v :#abc]  nil)
> nil
> user=>
>
> user=>
>
> user=> ;; => fail;
>
> user=> (let [v :#abc]
> RuntimeException EOF while reading, starting at line 1
>  clojure.lang.Util.runtimeException (Util.java:219)
>
> user=>   nil)
> nil
> RuntimeException Unmatched delimiter: )
>  clojure.lang.Util.runtimeException (Util.java:219)
>
> user=>
>
>  --
> --
> 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
> ---
> 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 clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to