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

init-test
author soto
date Tue, 08 Dec 2020 19:06:49 +0900
parents
children
line wrap: on
line source

record Point : Set where
  field
    x : Nat
    y : Nat

makePoint : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Point
makePoint a b = record { x = a ; y = b }