[Haskell-cafe] about GADTs on ghci

Andrew Coppin andrewcoppin at btinternet.com
Tue Nov 27 14:11:27 EST 2007

Luke Palmer wrote:
> You can also put the line
> {-# OPTIONS_GHC -fglasgow-exts #-}
> At the top, to turn on glasgow extensions whenever GHC compiles this file.

I was under the impression that it's better to use the LANGUAGE pragma 
rather than the catch-all Glasgow-exts option. However, I can't actually 
find a language option for GADTs... somebody care to clarify?

More information about the Haskell-Cafe mailing list