Documentation
Init
.
Control
.
Id
Search
Google site search
Init
.
Control
.
Id
source
Imports
Init.Core
Imported by
Id
Id
.
instMonadId
Id
.
hasBind
Id
.
run
Id
.
instOfNatId
source
def
Id
(type :
Type
u)
:
Type
u
Equations
Id
type
=
type
Instances For
source
@[always_inline]
instance
Id
.
instMonadId
:
Monad
Id
Equations
Id.instMonadId
=
Monad.mk
source
def
Id
.
hasBind
:
Bind
Id
Equations
Id.hasBind
=
inferInstance
Instances For
source
@[inline]
def
Id
.
run
{α :
Type
u_1}
(x :
Id
α
)
:
α
Equations
Id.run
x
=
x
Instances For
source
instance
Id
.
instOfNatId
{α :
Type
u_1}
{n :
Nat
}
[
OfNat
α
n
]
:
OfNat
(
Id
α
)
n
Equations
Id.instOfNatId
=
inferInstanceAs
(
OfNat
α
n
)