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

ConstMap and ConstSet #3

Closed
littledan opened this issue Apr 4, 2019 · 3 comments
Closed

ConstMap and ConstSet #3

littledan opened this issue Apr 4, 2019 · 3 comments

Comments

@littledan
Copy link
Member

It may be useful to have deeply immutable Map and Set types. Should these be included in this proposal? Or a follow-on?

@rricard
Copy link
Member

rricard commented Apr 4, 2019

I thought about it, I was planning in doing them as followup

@ckknight
Copy link

They don't seem strictly necessary right now, as they could be represented (possibly suboptimally) as const arrays. Having ConstMap and ConstSet as a follow-on proposal seems like the best course of action. Including them this early could potentially lock one into an object creation syntax no one likes.

@mheiber
Copy link
Contributor

mheiber commented Aug 14, 2019

The README now mentions const Map and Set as things that can be explored in a follow-on: https://github.com/rricard/proposal-const-value-types#are-there-any-follow-up-proposals-being-considered

Can we close this issue?

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

4 participants