patch applied (cabal): Fix the depth calculation for the version range expression check

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Sep 17 15:54:18 EDT 2009


Wed Sep 16 20:27:48 PDT 2009  Duncan Coutts <duncan at haskell.org>
  * Fix the depth calculation for the version range expression check
  Ignore-this: da1f0fefd17c1269f39e93e4623dc274
  Previously it was complaining about expressions like
   >= 2 && < 3
  because internally >= is represented in terms of >, == and ||.
  The fix is to use new fold that gives a view with the extra
  syntactic sugar so that <= and <= can be counted as one.

    M ./Distribution/PackageDescription/Check.hs -2 +4

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20090917032748-adfee-4f44bc30426345bbf813d3d38b79fb1086f2bb90.gz



More information about the cabal-devel mailing list