Documentation
Lean.Compiler.NeverExtractAttr
Google site search
Lean.Compiler.NeverExtractAttr
source
Imports
Init
Lean.Attributes
Lean.Environment
Imported by
Lean.neverExtractAttr
Lean.hasNeverExtractAttribute
Lean.hasNeverExtractAttribute.visit
source
opaque
Lean.neverExtractAttr
:
Lean.TagAttribute
source
@[export lean_has_never_extract_attribute]
def
Lean.hasNeverExtractAttribute
(env :
Lean.Environment
)
(n :
Lean.Name
)
:
Bool
Equations
Lean.hasNeverExtractAttribute
env
n
=
Lean.hasNeverExtractAttribute.visit
env
n
source
partial def
Lean.hasNeverExtractAttribute.visit
(env :
Lean.Environment
)
(n :
Lean.Name
)
:
Bool