Documentation
Lean
.
Compiler
.
BorrowedAnnotation
Search
Google site search
return to top
source
Imports
Init
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
=
Option.isSome
(
Lean.annotation?
`borrowed
e
)
Instances For