2008-10-11 Hackage status with GHC 6.10

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Oct 12 12:52:38 EDT 2008


On Sun, 2008-10-12 at 14:56 +0100, Ian Lynagh wrote:
> On Sun, Oct 12, 2008 at 03:40:53PM +0200, Henning Thielemann wrote:
> > 
> > ... and erm, how can I enable parsing of optimizer rules?
> > With {-# OPTIONS_GHC -O #-} ?
> 
> Yes, although note that Cabal passes -O by default. I'd recommend not
> putting it in a pragma, as that will break
>     ./Setup configure --disable-optimization

I think the question was how to get the RULES pragmas to be parsed. One
does have to turn on a language extension to get the forall in rules to
parse and it's not very clear at the moment which one we should be
using.

See http://hackage.haskell.org/trac/ghc/ticket/2497

Duncan



More information about the Libraries mailing list