mutable: Automatic piecewise-mutable references for your types
Associate and generate "piecewise-mutable" versions for your composite data types. Think of it like a "generalized MVector for all ADTs".
Useful for a situation where you have a record with many fields (or many nested records) that you want to use for efficient mutable in-place algorithms. This library lets you do efficient "piecewise" mutations (operations that only edit one field), and also efficient entire-datatype copies/updates, as well, in many cases.
[Skip to Readme]
|Versions [faq]||0.1.0.0, 0.1.0.1|
|Dependencies||base (>=4.11 && <5), constraints, generic-lens (>=2.0), generic-lens-core (>=2.0), primitive (>=0.6.4), reflection, transformers, vector, vinyl [details]|
|Copyright||(c) Justin Le 2020|
|Source repo||head: git clone https://github.com/mstksg/mutable|
|Uploaded||by jle at 2020-02-11T21:35:04Z|
|Downloads||331 total (12 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees