view Paper/src/AgdaWhere.agda.replaced @ 5:339fb67b4375

INIT rbt.agda
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Sun, 07 Nov 2021 00:51:16 +0900
parents c59202657321
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!$\prime$! : Int !$\rightarrow$! Int !$\rightarrow$! Int
f!$\prime$! a b c = (a + a + a) + (b + b + b) + (c + c + c)