annotate paper/src/AgdaRecord.agda.replaced @ 19:046b2b20d6c7 default tip

fix
author ryokka
date Mon, 09 Mar 2020 11:25:49 +0900
parents c7acb9211784
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
1 record Point : Set where
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 field
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3 x : Nat
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
4 y : Nat
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
5
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
6 makePoint : Nat @$\rightarrow$@ Nat @$\rightarrow$@ Point
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
7 makePoint a b = record { x = a ; y = b }