You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Do the names
Tuple
andRecord
fit? As far as I can tell, they are essentially immutableArray
and immutableObject
, 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?
The text was updated successfully, but these errors were encountered: