patch applied (cabal): Split known-extensions off into their own type, and remove knownExtensions

Ian Lynagh igloo at earth.li
Tue Oct 26 20:34:29 EDT 2010


Mon Oct 25 16:26:24 PDT 2010  Ian Lynagh <igloo at earth.li>
  * 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=20101025232624-3fd76-266e6cf2a97e9263eae2a1419fb8ab1008897e27.gz



More information about the cabal-devel mailing list