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

What is the plan for the {} literals in future versions of julia #23346

Closed
sighoya opened this issue Aug 19, 2017 · 1 comment
Closed

What is the plan for the {} literals in future versions of julia #23346

sighoya opened this issue Aug 19, 2017 · 1 comment

Comments

@sighoya
Copy link

sighoya commented Aug 19, 2017

When using {} in julia v 0.6.0
we receive
ERROR: syntax: { } vector syntax is discontinued

Could we use {} for Sets and Dicts instead with:
{1,2,3} == Set([1,2,3])
{1=>2,3=>4} == Dict(1=>2,3=>4)

What do you think about. Would it be possible?

@fredrikekre
Copy link
Member

#8470

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