Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The edn spec inaccurately describes what characters are allowed in symbols. #62

Closed
bitemyapp opened this issue Nov 20, 2013 · 3 comments
Closed

Comments

@bitemyapp
Copy link

@bitemyapp bitemyapp commented Nov 20, 2013

Just show the damn symbolPat regex from Clojure core.

The spec even forgets < is a valid symbol despite using it in the Datomic tutorial.

@alexanderkiel
Copy link

@alexanderkiel alexanderkiel commented Nov 20, 2013

You are right (type (clojure.edn/read-string "<")) returns clojure.lang.Symbol in clojure 1.5.1.

@richhickey richhickey closed this Jan 7, 2014
@alexanderkiel
Copy link

@alexanderkiel alexanderkiel commented Jan 8, 2014

To clarify this further, the spec says in section symbols:

Symbols begin with a non-numeric character

This includes <.

@richhickey richhickey reopened this Jan 8, 2014
@richhickey richhickey closed this in a51127a Jan 8, 2014
@bitemyapp
Copy link
Author

@bitemyapp bitemyapp commented Jan 8, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.