- mapFVarM : {m : Type → Type} → [inst : MonadLiftT Lean.Compiler.LCNF.CompilerM m] → [inst : Monad m] → (Lean.FVarId → m Lean.FVarId) → α → m α
Instances
partial def
Lean.Compiler.LCNF.Expr.mapFVarM
{m : Type → Type u_1}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(e : Lean.Expr)
:
partial def
Lean.Compiler.LCNF.Expr.forFVarM
{m : Type → Type u_1}
[Monad m]
(f : Lean.FVarId → m Unit)
(e : Lean.Expr)
:
m Unit
def
Lean.Compiler.LCNF.Arg.mapFVarM
{m : Type → Type}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(arg : Lean.Compiler.LCNF.Arg)
:
Instances For
def
Lean.Compiler.LCNF.Arg.forFVarM
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Unit)
(arg : Lean.Compiler.LCNF.Arg)
:
m Unit
Instances For
def
Lean.Compiler.LCNF.LetValue.mapFVarM
{m : Type → Type}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(e : Lean.Compiler.LCNF.LetValue)
:
Instances For
def
Lean.Compiler.LCNF.LetValue.forFVarM
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Unit)
(e : Lean.Compiler.LCNF.LetValue)
:
m Unit
Instances For
def
Lean.Compiler.LCNF.LetDecl.mapFVarM
{m : Type → Type}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(decl : Lean.Compiler.LCNF.LetDecl)
:
Instances For
def
Lean.Compiler.LCNF.LetDecl.forFVarM
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Unit)
(decl : Lean.Compiler.LCNF.LetDecl)
:
m Unit
Instances For
def
Lean.Compiler.LCNF.Param.mapFVarM
{m : Type → Type u_1}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(param : Lean.Compiler.LCNF.Param)
:
Instances For
def
Lean.Compiler.LCNF.Param.forFVarM
{m : Type → Type u_1}
[Monad m]
(f : Lean.FVarId → m Unit)
(param : Lean.Compiler.LCNF.Param)
:
m Unit
Instances For
partial def
Lean.Compiler.LCNF.Code.mapFVarM
{m : Type → Type}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(c : Lean.Compiler.LCNF.Code)
:
partial def
Lean.Compiler.LCNF.Code.forFVarM
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Unit)
(c : Lean.Compiler.LCNF.Code)
:
m Unit
def
Lean.Compiler.LCNF.FunDecl.mapFVarM
{m : Type → Type}
[MonadLiftT Lean.Compiler.LCNF.CompilerM m]
[Monad m]
(f : Lean.FVarId → m Lean.FVarId)
(decl : Lean.Compiler.LCNF.FunDecl)
:
Instances For
def
Lean.Compiler.LCNF.FunDecl.forFVarM
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Unit)
(decl : Lean.Compiler.LCNF.FunDecl)
:
m Unit
Instances For
def
Lean.Compiler.LCNF.anyFVarM
{m : Type → Type}
{α : Type}
[Monad m]
[Lean.Compiler.LCNF.TraverseFVar α]
(f : Lean.FVarId → m Bool)
(x : α)
:
m Bool
Instances For
def
Lean.Compiler.LCNF.anyFVarM.go
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Bool)
(fvar : Lean.FVarId)
:
Instances For
def
Lean.Compiler.LCNF.allFVarM
{m : Type → Type}
{α : Type}
[Monad m]
[Lean.Compiler.LCNF.TraverseFVar α]
(f : Lean.FVarId → m Bool)
(x : α)
:
m Bool
Instances For
def
Lean.Compiler.LCNF.allFVarM.go
{m : Type → Type}
[Monad m]
(f : Lean.FVarId → m Bool)
(fvar : Lean.FVarId)
:
Instances For
def
Lean.Compiler.LCNF.anyFVar
{α : Type}
[Lean.Compiler.LCNF.TraverseFVar α]
(f : Lean.FVarId → Bool)
(x : α)
:
Instances For
def
Lean.Compiler.LCNF.allFVar
{α : Type}
[Lean.Compiler.LCNF.TraverseFVar α]
(f : Lean.FVarId → Bool)
(x : α)
: