Documentation

Lean.Compiler.LCNF.MonadScope

Instances
    Equations
    • Lean.Compiler.LCNF.instMonadScopeScopeT = { getScope := read, withScope := fun {α} => withReader }
    Equations
    def Lean.Compiler.LCNF.inScope {m : TypeType} [inst : Lean.Compiler.LCNF.MonadScope m] [inst : Monad m] (fvarId : Lean.FVarId) :
    Equations
    @[inline]
    def Lean.Compiler.LCNF.withParams {m : TypeType} {α : Type} [inst : Lean.Compiler.LCNF.MonadScope m] [inst : Monad m] (ps : Array Lean.Compiler.LCNF.Param) (x : m α) :
    m α
    Equations
    @[inline]
    def Lean.Compiler.LCNF.withFVar {m : TypeType} {α : Type} [inst : Lean.Compiler.LCNF.MonadScope m] [inst : Monad m] (fvarId : Lean.FVarId) (x : m α) :
    m α
    Equations
    @[inline]
    def Lean.Compiler.LCNF.withNewScope {m : TypeType} {α : Type} [inst : Lean.Compiler.LCNF.MonadScope m] [inst : Monad m] (x : m α) :
    m α
    Equations