comparison final_pre/src/AgdaWhere.agda @ 7:28f900230c26

add final_pre
author ryokka
date Mon, 19 Feb 2018 23:32:24 +0900
parents
children
comparison
equal deleted inserted replaced
6:d927f6b3d2b3 7:28f900230c26
1 f : Int -> Int -> Int
2 f a b c = (t a) + (t b) + (t c)
3 where
4 t x = x + x + x
5
6 f' : Int -> Int -> Int
7 f' a b c = (a + a + a) + (b + b + b) + (c + c + c)