IdrisDoc
: Prelude.Pairs
Index
Prelude.Pairs
data
Exists
:
(
P
:
a
->
Type
) ->
Type
Dependent pair where the first field is erased.
Evidence
:
(
x
:
a
) -> (
pf
:
P
x
) ->
Exists
P
data
Subset
:
(
a
:
Type
) -> (
P
:
a
->
Type
) ->
Type
Dependent pair where the second field is erased.
Element
:
(
x
:
a
) -> (
pf
:
P
x
) ->
Subset
a
P
swap
:
(
a
,
b
)
->
(
b
,
a
)