ref: 94db41b3b458bebdf4de50de98f0563a3a9e5d29
dir: /tests/LocalPoly.hs/
module LocalPoly(main) where
import Prelude
main :: IO ()
main = do
putStrLn $ show $ f 1 ("a"::String)
f :: forall b . Int -> b -> ((Int, b), (b, b))
f x b = (i x, i b)
where
i :: forall a . a -> (a, b)
i a = (a, b)