ForEval

public final class ForEval

Undocumented

  • Declaration

    Swift

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

    Swift

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

    Swift

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

    Swift

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

    Swift

    public static func eq<A>(_ lhs: Kind<ForEval, A>, _ rhs: Kind<ForEval, A>) -> Bool where A : Equatable