CokleisliPartial

public final class CokleisliPartial<F, I> : Kind2<ForCokleisli, F, I>

Undocumented

  • Declaration

    Swift

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

    Swift

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

    Swift

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

    Swift

    public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> Kind<CokleisliPartial<F, I>, Either<A, B>>) -> Kind<CokleisliPartial<F, I>, B>