Documentation
Lean
.
Meta
.
FunInfo
Search
Google site search
return to top
source
Imports
Lean.Meta.Basic
Lean.Meta.InferType
Imported by
Lean
.
Meta
.
getFunInfo
Lean
.
Meta
.
getFunInfoNArgs
Lean
.
Meta
.
FunInfo
.
getArity
source
def
Lean
.
Meta
.
getFunInfo
(fn :
Lean.Expr
)
:
Lean.MetaM
Lean.Meta.FunInfo
Equations
Lean.Meta.getFunInfo
fn
=
Lean.Meta.getFunInfoAux✝
fn
none
Instances For
source
def
Lean
.
Meta
.
getFunInfoNArgs
(fn :
Lean.Expr
)
(nargs :
Nat
)
:
Lean.MetaM
Lean.Meta.FunInfo
Instances For
source
def
Lean
.
Meta
.
FunInfo
.
getArity
(info :
Lean.Meta.FunInfo
)
:
Nat
Equations
info
.getArity
=
info
.paramInfo
.size
Instances For