On Sun, Aug 07, 2005 at 09:22:40AM -0400, David Roundy wrote:
> Hi Ian and others,
> 
> I'd appreciate if you'd take a careful look at this patch.  I think I
> didn't change the behavior of the code (except making it lazier), but this
> is the sort of code in which one can make changes that work fine until some
> rare repository comes along and suddenly they cause corruption.

I'm not sure the behaviour is going to be the same if you have inputs
like

    gcau ([[x], [y]], [[z]])

but if not, probably in ways that don't matter. Before I think it
through properly can you point me at a description of exactly what it's
meant to do please? (it would be good to have one as a comment in the
file, I think).

I think it can probably be written more clearly using irrefutable
patterns. I'd guess the length comparison bit could/should be written
more symmetrically with a compare, too.


Thanks
Ian


_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to