effect-tree
    Preparing search index...
    • Given an encoder that can format a value of type A into a single line string, encode a tree of A into a YAML-like indented format where indentation indicates node depth.

      Parameters

      • indent: number

      Returns <A>(
          formatter: (a: A, depth: number) => string,
      ) => (self: Tree<A>) => [string, ...string[]]