StoreTPartial

public final class StoreTPartial<S, W> : Kind2<ForStoreT, S, W>

Partial application of the StoreT type constructor, omitting the last parameter.

  • Obtains the comonadic value, removing the Store support.

    Declaration

    Swift

    public static func lower<A>(_ twa: StoreTOf<S, W, A>) -> Kind<W, A>

    Return Value

    Comonadic value without Store support.

  • Declaration

    Swift

    public typealias E = W.E
  • Declaration

    Swift

    public static func ask<A>(_ wa: StoreTOf<S, W, A>) -> W.E
  • Declaration

    Swift

    public static func local<A>(
        _ wa: StoreTOf<S, W, A>,
        _ f: @escaping (W.E) -> W.E) -> StoreTOf<S, W, A>