effect-tree
    Preparing search index...

    Function unfold

    • The simplest unfold: unfold a tree as long as the given function of type (parent: A) ⇒ A[] keeps producing new child nodes.

      Type Parameters

      • A

      Parameters

      • unfolder: (parent: A) => A[]

      Returns TreeUnfold<A, A>