ref: 581fb546cf42e1d63f56ac724aeb8b871de8251e
dir: /tests/NoForall.hs/
module NoForall where
-- Without an explicit forall the 'a' is not bound in the body.
f :: a -> ((a,a),(a,a))
f x =
let g :: a -> (a,a)
g a = (a,a)
in g (x,x)
main :: IO ()
main = print (f True)