[darcs-devel] darcs patch: make Doc a newtype, so we can define a Show instance.

Eric Y. Kow eric.kow at gmail.com
Mon Oct 22 21:51:38 UTC 2007


> Mon Oct 22 08:27:22 PDT 2007  David Roundy <droundy at darcs.net>
>   * make Doc a newtype, so we can define a Show instance.

Seems fine.

> +errorDoc = error . show
> +traceDoc d = trace (show d)

Might as well make these consistent.  But eh, not worth the patch :-)

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20071022/82d504dc/attachment.pgp 


More information about the darcs-devel mailing list