rebellion icon indicating copy to clipboard operation
rebellion copied to clipboard

Mutable Record Types?

Open samdphillips opened this issue 5 years ago • 1 comments

Are there any plans to allow mutable records?

samdphillips avatar Oct 01 '19 18:10 samdphillips

No, but good use cases could change my mind.

In my experience, an immutable record/tuple/struct/etc. containing boxes for the mutable fields is an effective approach, if a little clunky at times. I personally don't use mutation enough for the added implementation complexity to be worthwhile.

jackfirth avatar Oct 01 '19 18:10 jackfirth