Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

[clojure] treat comma as whitespace #63

Merged
merged 1 commit into from Aug 12, 2019

Conversation

finalfantasia
Copy link
Contributor

No description provided.

@alexdima
Copy link
Member

@finalfantasia Why? I don't think we do this with any other tokenizer?

@finalfantasia
Copy link
Contributor Author

@finalfantasia Why? I don't think we do this with any other tokenizer?

Oh, my bad, I should've given an explanation in the PR.

In Clojure, comma (,) is treated as whitespace, exactly the same as spaces, tabs, or newlines. Commas are thus never required in literal collections, but are often used to enhance readability.[1]

[1] https://clojure.org/guides/weird_characters#_whitespace_character

@alexdima
Copy link
Member

Thank you!

@alexdima alexdima merged commit 1c6738c into microsoft:master Aug 12, 2019
@alexdima alexdima added this to the August 2019 milestone Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants