Eval

public class Eval<A> : EvalOf<A>

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func now(_ a: A) -> Eval<A>
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public static var Unit: Eval<()> { get }
  • Undocumented

    Declaration

    Swift

    public static var True: Eval<Bool> { get }
  • Undocumented

    Declaration

    Swift

    public static var False: Eval<Bool> { get }
  • Undocumented

    Declaration

    Swift

    public static var Zero: Eval<Int> { get }
  • Undocumented

    Declaration

    Swift

    public static var One: Eval<Int> { get }
  • Undocumented

    Declaration

    Swift

    public static func fix(_ fa: EvalOf<A>) -> Eval<A>
  • Undocumented

    Declaration

    Swift

    public func value() -> A
  • Undocumented

    Declaration

    Swift

    public func memoize() -> Eval<A>