Documentation
Lean
.
Compiler
.
ClosedTermCache
Search
Google site search
Lean
.
Compiler
.
ClosedTermCache
source
Imports
Init
Lean.Environment
Imported by
Lean
.
ClosedTermCache
Lean
.
instInhabitedClosedTermCache
Lean
.
closedTermCacheExt
Lean
.
cacheClosedTermName
Lean
.
getClosedTermName?
Lean
.
isClosedTermName
source
structure
Lean
.
ClosedTermCache
:
Type
map :
Lean.PHashMap
Lean.Expr
Lake.Name
constNames :
Lean.NameSet
Instances For
source
instance
Lean
.
instInhabitedClosedTermCache
:
Inhabited
Lean.ClosedTermCache
source
opaque
Lean
.
closedTermCacheExt
:
Lean.EnvExtension
Lean.ClosedTermCache
source
@[export lean_cache_closed_term_name]
def
Lean
.
cacheClosedTermName
(env :
Lean.Environment
)
(e :
Lean.Expr
)
(n :
Lake.Name
)
:
Lean.Environment
Instances For
source
@[export lean_get_closed_term_name]
def
Lean
.
getClosedTermName?
(env :
Lean.Environment
)
(e :
Lean.Expr
)
:
Option
Lake.Name
Instances For
source
def
Lean
.
isClosedTermName
(env :
Lean.Environment
)
(n :
Lake.Name
)
:
Bool
Instances For