comparison src/AgdaProduct.agda.replaced @ 1:73127e0ab57c

(none)
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 08 Sep 2020 18:38:08 +0900
parents
children
comparison
equal deleted inserted replaced
0:b919985837a3 1:73127e0ab57c
1 data _@$\times$@_ (A B : Set) : Set where
2 <_,_> : A @$\rightarrow$@ B @$\rightarrow$@ A @$\times$@ B
3
4 fst : {A B : Set} @$\rightarrow$@ A @$\times$@ B @$\rightarrow$@ A
5 fst < a , _ > = a
6
7 snd : {A B : Set} @$\rightarrow$@ A @$\times$@ B @$\rightarrow$@ B
8 snd < _ , b > = b