4
_%_ : {A B : Set}{C : B -> Set}
5
(f : (x : B) -> C x)(g : A -> B)(x : A) -> C (g x)
10
record True : Set where
18
record ∃ {A : Set}(P : A -> Set) : Set where
23
∃-intro : {A : Set}{P : A -> Set}(x : A) -> P x -> ∃ P
24
∃-intro x p = record { witness = x; proof = p }
28
data _×_ (A B : Set) : Set where
34
data Lift (A : Set) : Set where
38
_=<<_ : {A B : Set} -> (A -> Lift B) -> Lift A -> Lift B
50
data _==_ {A : Set}(x : A) : A -> Set where
53
data Id {A : Set}(x : A) : Set where
54
it : (y : A) -> x == y -> Id x
65
if_then_else_ : {A : Set} -> Bool -> A -> A -> A
66
if true then x else y = x
67
if false then x else y = y
72
data List (A : Set) : Set where
74
_::_ : A -> List A -> List A
76
data Elem {A : Set}(x : A) : List A -> Set where
77
hd : forall {xs} -> Elem x (x :: xs)
78
tl : forall {y xs} -> Elem x xs -> Elem x (y :: xs)