patch applied (packages/Cabal): Fix the depth calculation for the version range expression check

Simon Marlow marlowsd at gmail.com
Tue Oct 6 11:25:13 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/packages/Cabal/_darcs/patches/20090917032748-adfee-4f44bc30426345bbf813d3d38b79fb1086f2bb90.gz


More information about the Cvs-libraries mailing list