Skip to content

ImmutableSet literals #1

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

Open
sgrove opened this issue Jan 19, 2015 · 1 comment
Open

ImmutableSet literals #1

sgrove opened this issue Jan 19, 2015 · 1 comment

Comments

@sgrove
Copy link

sgrove commented Jan 19, 2015

It's often nice to have literals for immutable sets, both for writing and for printing. This is obviously far less important than any of the semantics that you've laid out, but what about #<1 2 3> for ImmutableSet literals? I'm of course partial to Clojure's #{1 2 3} syntax, but that's taken in this proposal already.

@Gozala
Copy link

Gozala commented Jan 31, 2015

Alternatively it could be similar to how numer literals were extended:

set#[1, 2, 3]

or

#set[1, 2, 3]

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