view paper/src/AgdaRecord.agda.replaced @ 4:bf1f62556b81

add while_test_init_imple
author soto
date Thu, 11 Feb 2021 17:03:31 +0900
parents 959f4b34d6f4
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 }