The discard reader will read, then discard (so the following form still has to be readable). In this case, the 1:2 starts with a number so is parsed as one, but that's an invalid form.
On Saturday, April 3, 2021 at 8:50:49 AM UTC-5 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* > > 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/3722ff93-47f7-4084-91e6-ac2d02feafc4n%40googlegroups.com.