An unfolder where the types are tupled with some state FoldState. A function of the type
FoldState
StateUnfolder<A, FoldState> = (pair: [Tree<A>, FoldState]) => TreeF< [A, FoldState], [Tree<A>, FoldState],> Copy
StateUnfolder<A, FoldState> = (pair: [Tree<A>, FoldState]) => TreeF< [A, FoldState], [Tree<A>, FoldState],>
Allows you to thread some state through the given tree.
An unfolder where the types are tupled with some state
FoldState. A function of the typeAllows you to thread some state through the given tree.