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

Comments

@bitemyapp
Copy link

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

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

@alexanderkiel
Copy link

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
@bitemyapp
Copy link
Author

👍

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

No branches or pull requests

3 participants