effect-tree
    Preparing search index...

    Interface TreeFolderK<F>

    A tree folder for a type of kind * → *, where the type parameter is inferred. The type lambda F will be used to build the actual folder type.

    For example consider the function MyFolder which happens to be a tree folder with a carrier type of Option<A>:

    type MyFolder = <A>(treeF: TreeF<Option<A>>) => Option<A>
    

    Its type can be written using TreeAlgebraK without mentioning the free parameter A:

    type MyFolder = TreeFolderK<OptionTypeLambda>
    

    Type Parameters

    • F extends HKT.TypeLambda