import "Prelude" foo :: Integer -> (Integer -> ()) foo i = do print i \j -> print j main = foo 3 4 -- 3 4 ()