FreePartial

public final class FreePartial<S> : Kind<ForFree, S>

Undocumented

  • Declaration

    Swift

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

    Swift

    public static func pure<A>(_ a: A) -> Kind<FreePartial<S>, A>
  • Declaration

    Swift

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

    Swift

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