MonadReader

public protocol MonadReader : Monad

Undocumented

  • D

    Undocumented

    Declaration

    Swift

    associatedtype D
  • Undocumented

    Declaration

    Swift

    static func ask() -> Kind<Self, D>
  • Undocumented

    Declaration

    Swift

    static func local<A>(_ fa: Kind<Self, A>, _ f: @escaping (D) -> D) -> Kind<Self, A>
  • reader(_:) Extension method

    Undocumented

    Declaration

    Swift

    public static func reader<A>(_ f: @escaping (D) -> A) -> Kind<Self, A>