view Paper/src/AgdaRecord.agda.replaced @ 14:ba98083f9853 default tip

FIX
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Fri, 27 May 2022 12:31:39 +0900
parents 14a0e409d574
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 }