Documentation
Lean
.
Compiler
.
LCNF
.
AuxDeclCache
Search
return to top
source
Imports
Lean.Compiler.LCNF.DeclHash
Lean.Compiler.LCNF.Internalize
Imported by
Lean
.
Compiler
.
LCNF
.
AuxDeclCacheKey
Lean
.
Compiler
.
LCNF
.
instBEqAuxDeclCacheKey
.
beq
Lean
.
Compiler
.
LCNF
.
instBEqAuxDeclCacheKey
Lean
.
Compiler
.
LCNF
.
instHashableAuxDeclCacheKey
Lean
.
Compiler
.
LCNF
.
instHashableAuxDeclCacheKey
.
hash
Lean
.
Compiler
.
LCNF
.
auxDeclCacheExt
Lean
.
Compiler
.
LCNF
.
CacheAuxDeclResult
Lean
.
Compiler
.
LCNF
.
cacheAuxDecl
source
structure
Lean
.
Compiler
.
LCNF
.
AuxDeclCacheKey
:
Type
pu :
Purity
decl :
Decl
self
.
pu
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
instBEqAuxDeclCacheKey
.
beq
:
AuxDeclCacheKey
→
AuxDeclCacheKey
→
Bool
Instances For
source
@[implicit_reducible]
instance
Lean
.
Compiler
.
LCNF
.
instBEqAuxDeclCacheKey
:
BEq
AuxDeclCacheKey
source
@[implicit_reducible]
instance
Lean
.
Compiler
.
LCNF
.
instHashableAuxDeclCacheKey
:
Hashable
AuxDeclCacheKey
source
def
Lean
.
Compiler
.
LCNF
.
instHashableAuxDeclCacheKey
.
hash
:
AuxDeclCacheKey
→
UInt64
Instances For
source
opaque
Lean
.
Compiler
.
LCNF
.
auxDeclCacheExt
:
CacheExtension
AuxDeclCacheKey
Name
source
inductive
Lean
.
Compiler
.
LCNF
.
CacheAuxDeclResult
:
Type
new :
CacheAuxDeclResult
alreadyCached
(
declName
:
Name
)
:
CacheAuxDeclResult
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
cacheAuxDecl
{
pu
:
Purity
}
(
decl
:
Decl
pu
)
:
CompilerM
CacheAuxDeclResult
Instances For