HepLean Documentation
Lean
.
Compiler
.
BorrowedAnnotation
Search
Google site search
return to top
source
Imports
Lean.Expr
Imported by
Lean
.
markBorrowed
Lean
.
isMarkedBorrowed
source
def
Lean
.
markBorrowed
(e :
Lean.Expr
)
:
Lean.Expr
Equations
Lean.markBorrowed
e
=
Lean.mkAnnotation
`borrowed
e
Instances For
source
@[export lean_is_marked_borrowed]
def
Lean
.
isMarkedBorrowed
(e :
Lean.Expr
)
:
Bool
Equations
Lean.isMarkedBorrowed
e
=
(
Lean.annotation?
`borrowed
e
)
.isSome
Instances For