patch applied (packages/base): Make sure zipWithFB has arity 2

Roman Leshchinskiy rl at cse.unsw.edu.au
Tue Nov 24 21:32:18 EST 2009


Tue Nov 24 17:00:03 PST 2009  Roman Leshchinskiy <rl at cse.unsw.edu.au>
  * Make sure zipWithFB has arity 2
  Ignore-this: 4cf60c55666f03d22a9f5a6e07f52d36
  
  It gets 2 arguments in the "zipWith" rule but its arity was higher and the new
  inliner didn't inline it sometimes, for instance here:
  
  mpp ::  [Double] -> [Double] -> [Double] -> [Double] -> [Double]
  mpp as bs cs ds = zipWith (*) (zipWith (+) as bs) (zipWith (+) cs ds)
   
  This was a regression vs. 6.10.

    M ./GHC/List.lhs -1 +3

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091125010003-b2b0a-9f02239729ab8fc6bba2b8f654c61596303ac8c3.gz


More information about the Cvs-libraries mailing list