comparison prepaper/src/AgdaRecord.agda.replaced @ 0:3dba680da508

init-test
author soto
date Tue, 08 Dec 2020 19:06:49 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dba680da508
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 }