patch applied (packages/array): Don't import Control.Applicative just to get <$> use fmap

Ian Lynagh igloo at earth.li
Tue Mar 25 17:46:24 EDT 2008


Tue Mar 25 08:02:17 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Don't import Control.Applicative just to get <$> use fmap
  The real reason to not import Control.Applicative is that it exports
  the non-H98 instance Functor ((->) a) and it is important for
  Data.Array to not re-export that because the H98 Array module
  re-exports bits of Data.Array and it is vital that we do not export
  non-H98 instances from a module specified in H98.

    M ./Data/Array.hs -2 +1


More information about the Cvs-libraries mailing list