haxetink / tink_pure

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

Some docs #7

Closed kevinresol closed 6 years ago

kevinresol commented 6 years ago

I can't quite understand what condensed() is though

back2dos commented 6 years ago

Well, the map is actually a log of changes with isset being true for additions and false for removals, while condensed holds the initial map from where the log starts. Calling condense produces a map where the log length is 0 again.