[Haskell-cafe] Re: about Ghci

Henning Thielemann lemming at henning-thielemann.de
Fri Apr 29 04:52:04 EDT 2005


On Thu, 28 Apr 2005, Peter Simons wrote:

> 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 option is local to each module, isn't it? I.e. with this comment you 
can tag the modules which need extensions.


More information about the Haskell-Cafe mailing list