Direct, continuation, Böhm-Berarducci

Direct Take a programmer, ask him to write a function that doubles an integer. It's highly likely that he will give you something similar to the following: public static int Double(int x) => x * 2; double :: Int -> Int double x = x * 2 The solutions are trivial, but…