1-- A function with an if/then/else statement 2 3-- The code below won't compile, but it is 4-- syntactically correct 5 6funcA a1 a2 = 7 if (complex ex pression + 12) == "Literal" 8 then 9 a + b 10 else 11 a + 12 b 13 14-- Check we can still read a simple function? 15 16funcB b1 = 17 True 18 19-- Can we catch functions defined inside if statements? 20 21funcC c1 c2 = 22 if (complex ex pression + 12) == "Literal" 23 then 24 let 25 c2 = 2 26 c3 = 3 27 in 28 c2 + c3 29 else 30 a + 31 b 32