• Maps the computation by fn over StateT<S, M, _>.

    Type Parameters

    • M

    Parameters

    • functor: Functor<M>

      A Functor instance for M.

    Returns (<S, A, B>(fn) => ((s) => StateT<S, M, B>))

    The mapped computation.

      • <S, A, B>(fn): ((s) => StateT<S, M, B>)
      • Type Parameters

        • S

        • A

        • B

        Parameters

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

              • a: A

              Returns B

        Returns ((s) => StateT<S, M, B>)

Generated using TypeDoc