comparison paper/src/AgdaProduct.agda @ 85:9d154c48a1f6

Update curry-howard isomorphism
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Thu, 09 Feb 2017 15:36:52 +0900
parents
children
comparison
equal deleted inserted replaced
84:f3ea67a23cf6 85:9d154c48a1f6
1 data _×_ (A B : Set) : Set where
2 <_,_> : A -> B -> A × B
3
4 fst : {A B : Set} -> A × B -> A
5 fst < a , _ > = a
6
7 snd : {A B : Set} -> A × B -> B
8 snd < _ , b > = b