Exercise 1.1


simple x y z = x * (y + z)

simple (simple 2 3 4) 5 6
=> simple (2 * (3 + 4)) 5 6
=> simple (2 * 7) 5 6
=> simple 14 5 6
=> 14 * (5 + 6)
=> 14 * 11
=> 154

Leave a Reply

Your email address will not be published. Required fields are marked *