[darcs-devel] [patch752] Minor formatting of Darcs.Commands.Dist (and 1 more)

Michael Hendricks michael at ndrix.org
Mon Mar 12 14:34:18 UTC 2012


Owen Stephens <darcs at owenstephens.co.uk> added the comment:
> I'm not sure about two parts of these patches:
>
> the "-----" lines seem unecessary to me and are the sort of thing that'll be
> added once in these clean-up patches but then never by anyone adding new
> functions. I would leave them out, personally. What purpose do they serve?

FWIW, I noticed that Darcs.Annotate uses a similar convention.  I
hadn't seen it in Haskell code before, but found it surprisingly
useful while reading the code.

It looks like Darcs.Patch.Apply and Darcs.Patch.Merge use the convention also.

--
Michael


More information about the darcs-devel mailing list