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

Are Sets also considered delimiters for not needing whitespace? #28

Closed
richard-lyman opened this issue Sep 12, 2012 · 2 comments
Closed

Comments

@richard-lyman
Copy link

Specifically, are the delimiters for a Set in the group that, "need not be separated from adjacent elements by whitespace?"

The delimiters () {} and [] are already mentioned... should #{ be added as not needing leading whitespace?

@richhickey
Copy link
Contributor

No. foo#{...} is the symbol foo# followed by a map. # is not a delimiter

@richard-lyman
Copy link
Author

If I understand correctly then, To identify a set you'd be required to prefix it with whitespace and the symbol } already does not require trailing whitepsace, so foo#{1}2 is the symbol foo# followed by a map containing the Integer 1 followed by the Integer 2 and 'foo #{1}2' is the symbol foo followed by a set containing the Integer 1 followed by the Integer 2 - right?

That makes more sense.

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

2 participants