Control.Category in base
stefanor at cox.net
Sun Nov 18 03:17:36 EST 2007
On Sun, Nov 18, 2007 at 09:04:15AM +0100, Bertram Felgenhauer wrote:
> I played with ghc head today. I saw that its base library contains
> Control.Category, and Control.Arrow uses that. (I also saw the
> discussion about it on this mailing list. There weren't any serious
> objections; the discussion was far from focused though [*], and I found
> that the patch was applied rather abruptly. )
> Anyway, here's what I found trying to compile HXT:
> 1) Control.Arrow doesn't export (>>>) and (<<<) anymore.
> 2) All user defined instances of Control.Arrow.Arrow break.
> The first one is easily fixed in the base library.
> The second one is more annoying. The required changes to HXT aren't
> that big - my patch inserts 30 lines and deletes 10 - but it'll be
> harder to make it compatible between several ghc versions.
> So all in all I'm rather unhappy that this patch went in, because
> it breaks existing code and personally I see little gain from it.
> Personally I'd like to see that patch reverted. However I realize
> that my complaint comes rather late, so if we decide to keep the
> patch we have to fix the first issue above to minimize breakage of
> other packages.
Simple-ish solution: Implement the class system extension proposal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/libraries/attachments/20071118/68a5c44d/attachment.bin
More information about the Libraries