[darcs-users] darcs patch: do not use concatenation in src/Context.hs

Trent W. Buck trentbuck at gmail.com
Thu Jan 8 01:02:26 UTC 2009


Petr Rockai <me at mornfall.net> writes:

> Hi,
>
> Eric Kow <kowey at darcs.net> writes:
>> Ok, then I'll just apply it and hope that a better idea strikes you (or
>> somebody else) in the future.
> I think the best idea in the first place was to keep it in a single line. You
> see, "show" knows best how to escape a string. I don't think that the extra
> fragility and ugliness brought by manual escaping is worth having the context
> line-broken.

Certainly while a very long line in Context.hs is annoying in grep
output, it never confused me.  The very fact that it was very long made
me instantly realize that it was automatically generated and could be
ignored.



More information about the darcs-users mailing list