view paper/src/AgdaRecord.agda @ 69:bda11534296f

Update pdf
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Sat, 04 Feb 2017 16:34:14 +0900
parents fb42478e4c96
children
line wrap: on
line source

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

makePoint : Nat -> Nat -> Point
makePoint a b = record { x = a ; y = b }