view prepaper/src/AgdaWhere.agda.replaced @ 14:a63df15c9afc default tip

DONE
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Mon, 15 Feb 2021 23:36:39 +0900
parents 3dba680da508
children
line wrap: on
line source

f : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
f a b c = (t a) + (t b) + (t c)
  where
    t x = x + x + x

f' : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
f' a b c = (a + a + a) + (b + b + b) + (c + c + c)