kopykat-kt / kopykat

Little utilities for more pleasant immutable data in Kotlin
Other
283 stars 16 forks source link

Use Mutable version if it exists #38

Closed pablisco closed 2 years ago

pablisco commented 2 years ago

For the Mutable Copy function, we can also replace mutable versions of a type if we can figure it out. For instance, a List could be replaced inside a Mutable Instance as a MutableList. Same with Maps and friends.