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

Naming things #207

Closed
joakim opened this issue Nov 25, 2020 · 2 comments
Closed

Naming things #207

joakim opened this issue Nov 25, 2020 · 2 comments

Comments

@joakim
Copy link

joakim commented Nov 25, 2020

Do the names Tuple and Record fit? As far as I can tell, they are essentially immutable Array and immutable Object, sharing both syntax and methods with their mutable counterparts.

When I think of tuples and records I think of lightweight data structures with a small footprint (memory and associated methods), not necessarily immutable. Swift's tuples for example.

I do like this proposal and what it brings to the language. But are they really tuples and records? Are they not immutable arrays and immutable objects?

@rricard
Copy link
Member

rricard commented Nov 25, 2020

This issue is a duplicate of #82

@rricard rricard closed this as completed Nov 25, 2020
@joakim
Copy link
Author

joakim commented Nov 25, 2020

My bad! I did search first but didn't find that 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

2 participants