annotate src/AgdaWhere.agda.replaced @ 1:73127e0ab57c

(none)
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 08 Sep 2020 18:38:08 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 f : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2 f a b c = (t a) + (t b) + (t c)
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3 where
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
4 t x = x + x + x
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
5
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6 f' : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7 f' a b c = (a + a + a) + (b + b + b) + (c + c + c)