Tuple.agda 192 B

12345678910111213
  1. module Data.Tuple where
  2. data _×_ (A B : Set) : Set where
  3. <_,_> : A -> B -> A × B
  4. fst : {A B : Set} -> A × B -> A
  5. fst < x , y > = x
  6. snd : {A B : Set} -> A × B -> B
  7. snd < x , y > = y