annotate paper/src/AgdaWhere.agda @ 130:80a196c82a4c

Update todo
author atton <atton@cr.ie.u-ryukyu.ac.jp>
date Sat, 18 Feb 2017 15:43:09 +0900
parents 4985359bd08b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
79
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 f : Int -> Int -> Int
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 f a b c = (t a) + (t b) + (t c)
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 where
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 t x = x + x + x
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 f' : Int -> Int -> Int
4985359bd08b Update agda description
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 f' a b c = (a + a + a) + (b + b + b) + (c + c + c)