1 2 3 4 5 6 7 8 9 10
let doubler = n: outer n; outer = let inner = n: a * n; a = 2; in inner; in doubler 10