• Creates a new store with the value a.

    Type Parameters

    • S

    • W

    Parameters

    • monoid: Monoid<S>

      The instance of Monoid for S.

    • p: Pure<W>

      The instance of Pure for W.

    Returns (<A>(a) => StoreT<S, W, A>)

    The new store which returns only a.

      • <A>(a): StoreT<S, W, A>
      • Type Parameters

        • A

        Parameters

        • a: A

        Returns StoreT<S, W, A>

Generated using TypeDoc