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

add final_pre
author ryokka
date Mon, 19 Feb 2018 23:32:24 +0900
parents
children
line wrap: on
line source

f : Int -> Int -> Int
f a b c = (t a) + (t b) + (t c)
  where
    t x = x + x + x

f' : Int -> Int -> Int
f' a b c = (a + a + a) + (b + b + b) + (c + c + c)