1 2 3 4 5 6 7 8 9 10 11
module LocalDecls where foo a = bar a where nn :: Int nn = 2 bar :: Int -> Int bar x = x + 2 baz = 4