[Haskell-cafe] Re: about Ghci

Peter Simons simons at cryp.to
Thu Apr 28 11:54:57 EDT 2005


SCOTT J writes:

 > What do I have to do in order not having to type always
 > :set -fglasgow-exts

Add the line

  {-# OPTIONS -fglasgow-exts #-}

at the top of the source code. Then the flag will be set
when you load the module. This works for all kind of
settings:

  http://haskell.org/ghc/docs/latest/html/users_guide/using-ghc.html#source-file-options

Peter



More information about the Haskell-Cafe mailing list