Re:You Cannot Correctly Represent Change Without Immutability
by Dylan16807 on Wednesday July 04, 2012 @02:10PM
(#4200299)
Right, you can flip it to make everything immutable, but then accessing the current object is O(t).
Indeed, that is how git works in general – recording changes as immutable commits, and having one or more heads which point to the new immutable commit.