Documentation
Lean
.
Meta
.
Match
.
MatchEqsExt
Search
Google site search
Lean
.
Meta
.
Match
.
MatchEqsExt
source
Imports
Init
Lean.Meta.Basic
Imported by
Lean
.
Meta
.
Match
.
MatchEqns
Lean
.
Meta
.
Match
.
instInhabitedMatchEqns
Lean
.
Meta
.
Match
.
instReprMatchEqns
Lean
.
Meta
.
Match
.
MatchEqns
.
size
Lean
.
Meta
.
Match
.
MatchEqnsExtState
Lean
.
Meta
.
Match
.
instInhabitedMatchEqnsExtState
Lean
.
Meta
.
Match
.
matchEqnsExt
Lean
.
Meta
.
Match
.
registerMatchEqns
Lean
.
Meta
.
Match
.
getEquationsFor
source
structure
Lean
.
Meta
.
Match
.
MatchEqns
:
Type
eqnNames :
Array
Lake.Name
splitterName :
Lake.Name
splitterAltNumParams :
Array
Nat
Instances For
source
instance
Lean
.
Meta
.
Match
.
instInhabitedMatchEqns
:
Inhabited
Lean.Meta.Match.MatchEqns
source
instance
Lean
.
Meta
.
Match
.
instReprMatchEqns
:
Repr
Lean.Meta.Match.MatchEqns
source
def
Lean
.
Meta
.
Match
.
MatchEqns
.
size
(e :
Lean.Meta.Match.MatchEqns
)
:
Nat
Instances For
source
structure
Lean
.
Meta
.
Match
.
MatchEqnsExtState
:
Type
map :
Lean.PHashMap
Lake.Name
Lean.Meta.Match.MatchEqns
Instances For
source
instance
Lean
.
Meta
.
Match
.
instInhabitedMatchEqnsExtState
:
Inhabited
Lean.Meta.Match.MatchEqnsExtState
source
opaque
Lean
.
Meta
.
Match
.
matchEqnsExt
:
Lean.EnvExtension
Lean.Meta.Match.MatchEqnsExtState
source
def
Lean
.
Meta
.
Match
.
registerMatchEqns
(matchDeclName :
Lake.Name
)
(matchEqns :
Lean.Meta.Match.MatchEqns
)
:
Lean.CoreM
Unit
Instances For
source
@[extern lean_get_match_equations_for]
opaque
Lean
.
Meta
.
Match
.
getEquationsFor
(matchDeclName :
Lake.Name
)
:
Lean.MetaM
Lean.Meta.Match.MatchEqns