WriterTPartial

public final class WriterTPartial<F, W> : Kind2<ForWriterT, F, W>

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

  • Declaration

    Swift

    public static func eq<A>(_ lhs: Kind<WriterTPartial<F, W>, A>, _ rhs: Kind<WriterTPartial<F, W>, A>) -> Bool where A : Equatable
  • Declaration

    Swift

    public static func map<A, B>(_ fa: Kind<WriterTPartial<F, W>, A>, _ f: @escaping (A) -> B) -> Kind<WriterTPartial<F, W>, B>
  • Declaration

    Swift

    public static func pure<A>(_ a: A) -> Kind<WriterTPartial<F, W>, A>
  • Declaration

    Swift

    public static func flatMap<A, B>(_ fa: Kind<WriterTPartial<F, W>, A>, _ f: @escaping (A) -> Kind<WriterTPartial<F, W>, B>) -> Kind<WriterTPartial<F, W>, B>
  • Declaration

    Swift

    public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> Kind<WriterTPartial<F, W>, Either<A, B>>) -> Kind<WriterTPartial<F, W>, B>
  • Declaration

    Swift

    public static func empty<A>() -> Kind<WriterTPartial<F, W>, A>
  • Declaration

    Swift

    public static func combineK<A>(_ x: Kind<WriterTPartial<F, W>, A>, _ y: Kind<WriterTPartial<F, W>, A>) -> Kind<WriterTPartial<F, W>, A>
  • Declaration

    Swift

    public static func emptyK<A>() -> Kind<WriterTPartial<F, W>, A>
  • Declaration

    Swift

    public static func writer<A>(_ aw: (W, A)) -> Kind<WriterTPartial<F, W>, A>
  • Declaration

    Swift

    public static func listen<A>(_ fa: Kind<WriterTPartial<F, W>, A>) -> Kind<WriterTPartial<F, W>, (W, A)>
  • Declaration

    Swift

    public static func pass<A>(_ fa: Kind<WriterTPartial<F, W>, ((W) -> W, A)>) -> Kind<WriterTPartial<F, W>, A>