annotate paper/src/AgdaProduct.agda @ 2:c7acb9211784

add code, figure. and paper fix content
author ryokka
date Mon, 27 Jan 2020 20:41:36 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
1 data _×_ (A B : Set) : Set where
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 <_,_> : A -> B -> A × B
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
4 fst : {A B : Set} -> A × B -> A
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
5 fst < a , _ > = a
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
6
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
7 snd : {A B : Set} -> A × B -> B
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
8 snd < _ , b > = b