data Tree a = Node (Tree a) a (Tree a) | Leaf foo = 1 bar = 1 + 2 f :: Int -> Int f x = x * 3 g :: Int -> ((Int -> Int) -> (Int -> Int)) -> Int g y ding = ding f (y - 2) + 7 reverse :: [a] -> [a] reverse l = let go [] acc = acc go (x:xs) acc go xs (x:acc) 7 -> in go l [] kaas = 42