|
|
|
|
|
by hgsgm
1221 days ago
|
|
The wording is terrible, but the simple common Haskell way is to use overlays/diffs. You have an object. When you want to apply a patch, you create a new object that contains just your patch, plus a reference to the old obejct. DiffArray is the simple common example. It's fast enough when the diffs are small, but terrible when there are many diffs in series, creating a deep stack of references. It's not obscure. $PATH and the /bin,/usr/bin, /usr/local/bin, $HOME/bin dirs on Linux work the same way. |
|