DData

ross at soi.city.ac.uk ross at soi.city.ac.uk
Mon Apr 5 17:07:54 EDT 2004


On Mon, Apr 05, 2004 at 04:51:15PM +0200, Sven Panne wrote:
> Just a small remark: The DData modules are all marked as "portable", which
> is not entirely correct, because they import Data.Monoid, which is not
> portable. A possible solution/workaround for this would be wrapping these
> Monoid instances into #ifdefs, depending on the Haskell system in question.

How about making Data.Monoid portable, by replacing the a -> a instance
with one for a newtype?


More information about the Libraries mailing list