Mercurial > hg > Papers > 2021 > soto-prosym
view Paper/src/AgdaRecordProj.agda.replaced @ 5:339fb67b4375
INIT rbt.agda
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Nov 2021 00:51:16 +0900 |
parents | c59202657321 |
children |
line wrap: on
line source
getX : Point !$\rightarrow$! Nat getX p = Point.x p getY : Point !$\rightarrow$! Nat getY record { x = a ; y = b} = b xPlus5 : Point !$\rightarrow$! Point xPlus5 p = record p { x = (Point.x p) + 5}