comparison src/AgdaRecord.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 record Point : Set where
2 field
3 x : Nat
4 y : Nat
5
6 makePoint : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Point
7 makePoint a b = record { x = a ; y = b }