Documentation
Qq
.
SortLocalDecls
Search
Google site search
return to top
source
Imports
Init
Lean.Meta.Basic
Imported by
Qq
.
SortLocalDecls
.
Context
Qq
.
SortLocalDecls
.
State
Qq
.
SortLocalDecls
.
M
Qq
.
SortLocalDecls
.
visitExpr
Qq
.
SortLocalDecls
.
visitLocalDecl
Qq
.
sortLocalDecls
source
structure
Qq
.
SortLocalDecls
.
Context
:
Type
localDecls :
Lean.NameMap
Lean.LocalDecl
Instances For
source
structure
Qq
.
SortLocalDecls
.
State
:
Type
visited :
Lean.NameSet
result :
Array
Lean.LocalDecl
Instances For
source
@[reducible, inline]
abbrev
Qq
.
SortLocalDecls
.
M
(α :
Type
)
:
Type
Equations
Qq.SortLocalDecls.M
=
ReaderT
Qq.SortLocalDecls.Context
(
StateRefT'
IO.RealWorld
Qq.SortLocalDecls.State
Lean.MetaM
)
Instances For
source
partial def
Qq
.
SortLocalDecls
.
visitExpr
(e :
Lean.Expr
)
:
Qq.SortLocalDecls.M
Unit
source
partial def
Qq
.
SortLocalDecls
.
visitLocalDecl
(localDecl :
Lean.LocalDecl
)
:
Qq.SortLocalDecls.M
Unit
source
def
Qq
.
sortLocalDecls
(localDecls :
Array
Lean.LocalDecl
)
:
Lean.MetaM
(
Array
Lean.LocalDecl
)
Equations
One or more equations did not get rendered due to their size.
Instances For