Anyone written a fold operation over Zipper navigation operations using 
tomjkidd/elm-multiway-tree-zipper?

http://package.elm-lang.org/packages/tomjkidd/elm-multiway-tree-zipper/1.10.2/MultiwayTreeZipper

The zipper navigation operations generally take the form Zipper a -> Maybe 
(Zipper a).

I'd like some kind of fold operation that repeatedly applies the zipper 
navigation until it reaches a Nothing. This will be useful for implementing 
various walks over a tree, visit all child nodes, depth first walk, walk up 
to root etc, and to gather all nodes encountered along a walk.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to