Share your thoughts in the 2025 State of Clojure Survey!

Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Syntax and reader by

Right now double colon is allowed only when used as a start of not empty identifier prefix. I wonder is there some explanation why it is forbidden anywhere else?

I found original commit, where this was introduced.
https://github.com/clojure/clojure/commit/005ea1b5f96c5bb762e155032a865e29ad71bcf3

But commit message has no explanation why it allows only non-repeating colon

1 Answer

0 votes
ago by

Don't know, sorry.

ago by
Is there a possibility to consider relaxing this rule? That would mean one constraint less in compare with pure edn specification.
...