Expand description
unfold: anamorphism for building a Pattern tree from a seed.
Ported from Pattern.Core.unfold in the Haskell reference implementation.
Implemented iteratively with an explicit work stack to avoid stack overflow
on deep hierarchies.
Functionsยง
- unfold
- Anamorphism: expand a seed into a
Pattern<V>tree.