Deal correctly with infix type constructors in GADT decls
[ghc-hetmet.git] / compiler / ilxGen / tests / test8.hs
1 data Inf a = A (Inf a)
2
3 hd (A x) = x
4
5 choose (A (A x)) =  "hello world\n"
6 mk f = f (mk f)
7 main = putStr (choose (hd (mk A)))
8