view Paper/src/AgdaRecord.agda.replaced @ 0:14a0e409d574

ADD fast commit
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Apr 2022 23:13:44 +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 }