Mercurial > hg > Papers > 2018 > nozomi-master
view paper/src/AgdaRecordProj.agda @ 69:bda11534296f
Update pdf
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Feb 2017 16:34:14 +0900 |
parents | 10a550bf7e4a |
children |
line wrap: on
line source
getX : Point -> Nat getX p = Point.x p getY : Point -> Nat getY record { x = a ; y = b} = b xPlus5 : Point -> Point xPlus5 p = record p { x = (Point.x p) + 5}