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

DONE
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Sat, 08 Jan 2022 12:41:39 +0900
parents 339fb67b4375
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 }