Mon Oct 25 16:26:24 PDT 2010 Ian Lynagh
* Split known-extensions off into their own type, and remove knownExtensions
The knownExtensions list had already got out of sync with the datatype.
Now we use an Enum instance to get the list of constructors.
Also, having the actual extensions in a separate type than UnknownExtension
and EnableExtension makes it easier to add extension disabling support
later.
M ./Distribution/PackageDescription/Check.hs -3 +3
M ./Distribution/Simple/GHC.hs -6 +7
M ./Distribution/Simple/Haddock.hs -1 +1
M ./Distribution/Simple/Hugs.hs -6 +7
M ./Distribution/Simple/JHC.hs -3 +4
M ./Distribution/Simple/LHC.hs -3 +3
M ./Distribution/Simple/NHC.hs -3 +4
M ./Distribution/Simple/UHC.hs -2 +3
M ./Language/Haskell/Extension.hs -87 +36
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...