comparison 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
comparison
equal deleted inserted replaced
1:ee44dbda6bd3 2:c7acb9211784
1 record Point : Set where
2 field
3 x : Nat
4 y : Nat
5
6 makePoint : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Point
7 makePoint a b = record { x = a ; y = b }