[Haskell] Swapping parameters and type classes

Ian Lynagh igloo at earth.li
Mon Sep 17 06:18:45 EDT 2007


On Sun, Sep 16, 2007 at 01:59:02PM -0700, Stefan O'Rear wrote:
> > 
> > {-# OPTIONS_GHC -XTypeFamilies -XEmptyDataDecls -XTypeSynonymInstances #-}
> 
> {-# LANGUAGE TypeFamilies, EmptyDataDecls, TypeSynonymInstances #-}
> 
> (Ian/Simon: I've seen this several times now.  Maybe there should be a
> warning for -X in OPTIONS?  Is that even feasable?)

Currently we can't even give a warning when completely deprecated flags
are used, but when fixing that I think we should also do as you suggest.


Thanks
Ian



More information about the Haskell mailing list