MaybeK

public final class MaybeK<A> : MaybeKOf<A>

Undocumented

  • Undocumented

    Declaration

    Swift

    public let value: Maybe<A>
  • Undocumented

    Declaration

    Swift

    public static func fix(_ value: MaybeKOf<A>) -> MaybeK<A>
  • Undocumented

    Declaration

    Swift

    public static func from(_ f: @escaping () -> A) -> MaybeK<A>
  • Undocumented

    Declaration

    Swift

    public init(_ value: Maybe<A>)
  • Undocumented

    Declaration

    Swift

    public func fold<B>(_ ifEmpty: @escaping () -> B, _ ifSome: @escaping (A) -> B) -> B
  • Undocumented

    Declaration

    Swift

    public func runAsync(_ callback: @escaping (Either<Error, A>) -> MaybeKOf<()>) -> MaybeK<()>