Open rrnewton opened 9 years ago
@DreamLinuxer, when @osa1 was last hacking on this lib, our plan was to include "mergesort" as part of the 2.0 release, and make sure everything related to it was safe and final.
But other stuff (namely the rest of par-transformers) could be left for the next release.
We originally talked about combinators for zooming in/out on data structures, kind of like lenses and zippers.
The specific case we have is
morphToVec21
which acts on the left half of the state,(X,_)
, and performs the following transform:A
with into a tuple(A1,A2)
, containing non-overlapping segments ofA
But we need to build up a composable series of these transforms! First, both the lens-like focusing action, and then the type-changing (but alias-freedom-preserving) transform.
cc @osa1