• Maps the function for Cofree.

    Type Parameters

    • F

    Parameters

    • f: Functor<F>

      The instance of Functor for F.

    Returns (<A, B>(fn) => ((c) => Cofree<F, B>))

    • The lifted function from Cofree<F, A> to Cofree<F, B>.
      • <A, B>(fn): ((c) => Cofree<F, B>)
      • Type Parameters

        • A

        • B

        Parameters

        • fn: ((a) => B)
            • (a): B
            • Parameters

              • a: A

              Returns B

        Returns ((c) => Cofree<F, B>)

Generated using TypeDoc