let wrapper(number, threshold) { let square(x) { if x*x > threshold then x else x*x } in square(number) } in wrapper(4, 10)