Documentation
Lean
.
Linter
.
Deprecated
Search
return to top
source
Imports
Lean.ExtraModUses
Lean.Linter.Basic
Lean.Meta.Basic
Lean.Elab.InfoTree.Main
Imported by
Lean
.
Linter
.
linter
.
deprecated
Lean
.
Linter
.
DeprecationEntry
Lean
.
Linter
.
instInhabitedDeprecationEntry
Lean
.
Linter
.
instInhabitedDeprecationEntry
.
default
Lean
.
Linter
.
deprecatedAttr
Lean
.
Linter
.
setDeprecated
Lean
.
Linter
.
isDeprecated
Lean
.
MessageData
.
isDeprecationWarning
Lean
.
Linter
.
getDeprecatedNewName
Lean
.
Linter
.
checkDeprecated
source
opaque
Lean
.
Linter
.
linter
.
deprecated
:
Lean.Option
Bool
source
structure
Lean
.
Linter
.
DeprecationEntry
:
Type
newName? :
Option
Name
text? :
Option
String
since? :
Option
String
Instances For
source
instance
Lean
.
Linter
.
instInhabitedDeprecationEntry
:
Inhabited
DeprecationEntry
Equations
source
def
Lean
.
Linter
.
instInhabitedDeprecationEntry
.
default
:
DeprecationEntry
Equations
Instances For
source
opaque
Lean
.
Linter
.
deprecatedAttr
:
ParametricAttribute
DeprecationEntry
source
def
Lean
.
Linter
.
setDeprecated
{
m
:
Type
→
Type
}
[
Monad
m
]
[
MonadEnv
m
]
[
MonadError
m
]
(
declName
:
Name
)
(
entry
:
DeprecationEntry
)
:
m
Unit
Equations
Instances For
source
def
Lean
.
Linter
.
isDeprecated
(
env
:
Environment
)
(
declName
:
Name
)
:
Bool
Equations
Instances For
source
def
Lean
.
MessageData
.
isDeprecationWarning
(
msg
:
MessageData
)
:
Bool
Equations
Instances For
source
def
Lean
.
Linter
.
getDeprecatedNewName
(
env
:
Environment
)
(
declName
:
Name
)
:
Option
Name
Equations
Instances For
source
def
Lean
.
Linter
.
checkDeprecated
(
declName
:
Name
)
:
MetaM
Unit
Equations
Instances For