On Sat, Apr 3, 2021 at 08:50 zen...@gmail.com <zen...@gmail.com> wrote:

> I'm reading https://clojure.org/guides/weird_characters#_discard and run
> into this error:
>
> *user> #_({1:2})*
>
> *Syntax error reading source at (REPL:247:14).*
> *Invalid number: 1:2*
>

#_ is a reader macro—so what’s inside still has to be syntactically valid
(to the reader).

When trying to parse the literal, presumably because it ends and/or starts
with a digit, it is incorrectly interpreted as a number. It’s presumably
missing a space depending on what you intended that literal to mean.

lvh


Ty.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/clojure/4d306d9a-c030-4387-b92d-8e6fb2d5b63an%40googlegroups.com
> <https://groups.google.com/d/msgid/clojure/4d306d9a-c030-4387-b92d-8e6fb2d5b63an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAE_Hg6YxV7jXN9HL4Qf%3DsjkupT1%3DMZ53MQktArJNW9jAR9eTVg%40mail.gmail.com.

Reply via email to