view paper/src/AgdaRecord.agda.replaced @ 2:c7acb9211784

add code, figure. and paper fix content
author ryokka
date Mon, 27 Jan 2020 20:41:36 +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 }