OPTIONS in a literate source file

Dean Herington heringto@cs.unc.edu
Mon, 21 Jan 2002 20:43:58 -0500 (EST)


Thanks, that did it.

Did I miss this subtlety in the documentation, or should it be added
there?

Dean


On Mon, 21 Jan 2002, Sigbjorn Finne wrote:

> Try
> 
> >{-# OPTIONS -fglasgow-exts #-}
> 
> i.e., no space between '>' and '{'.
> 
> --sigbjorn
> 
> ----- Original Message ----- 
> From: "Dean Herington" <heringto@cs.unc.edu>
> To: <glasgow-haskell-users@haskell.org>
> Sent: Monday, January 21, 2002 17:26
> Subject: OPTIONS in a literate source file
> 
> 
> > I can't figure out how to get GHC to recognize my OPTIONS pragmas in a
> > literate source file.  Neither
> > 
> > > {-# OPTIONS -fglasgow-exts #-}
> > 
> > nor
> > 
> > {-# OPTIONS -fglasgow-exts #-}
> > 
> > works as the first line in the file.  Can anybody tell me what I'm doing
> > wrong?