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
Right now, `ListBuilder, MapBuilder and SortedSetBuilder) are intialised with empty data structures. This is great if you want to create an object from scratch, but doesn't cover the use case where you have an existing object and want to make a large number of modifications to it.
I propose we add functions that allow a user to create builders from initial data structures. For example:
Right now, `ListBuilder, MapBuilder and SortedSetBuilder) are intialised with empty data structures. This is great if you want to create an object from scratch, but doesn't cover the use case where you have an existing object and want to make a large number of modifications to it.
I propose we add functions that allow a user to create builders from initial data structures. For example:
We would guarantee that the builder itself would mutate a copy so that the initial data structure would remain immutable.
Happy to make a PR if you think this would be useful.
The text was updated successfully, but these errors were encountered: