MonadDefer

public protocol MonadDefer : MonadError

Undocumented

  • Undocumented

    Declaration

    Swift

    static func suspend<A>(_ fa: @escaping () -> Kind<Self, A>) -> Kind<Self, A>
  • delay(_:) Extension method

    Undocumented

    Declaration

    Swift

    static func delay<A>(_ f: @escaping () throws -> A) -> Kind<Self, A>
  • lazy() Extension method

    Undocumented

    Declaration

    Swift

    static func lazy() -> Kind<Self, ()>
  • delayEither(_:) Extension method

    Undocumented

    Declaration

    Swift

    static func delayEither<A>(_ f: @escaping () -> Either<E, A>) -> Kind<Self, A>