haxetink / tink_pure

Pure immutable data.
MIT License
10 stars 7 forks source link

Add List#replace() #6

Closed kevinresol closed 6 years ago

kevinresol commented 6 years ago

Replace a value in place while preserving the order. I think there is a way to reuse the unchanged nodes, instead of creating each node again in fromArray