comparison Paper/src/AgdaRecord.agda.replaced @ 0:c59202657321

init
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Nov 2021 06:55:58 +0900
parents
children 339fb67b4375
comparison
equal deleted inserted replaced
-1:000000000000 0:c59202657321
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 }