<div dir="ltr">Before you reinvent the wheel, have you looked at Language.Haskell.Pretty?<br><br><a href="http://haskell.org/ghc/docs/latest/html/libraries/haskell-src/Language-Haskell-Pretty.html">http://haskell.org/ghc/docs/latest/html/libraries/haskell-src/Language-Haskell-Pretty.html</a><br>
<br><div class="gmail_quote">On Tue, Sep 16, 2008 at 10:30 AM, Mauricio <span dir="ltr">&lt;<a href="mailto:briqueabraque@yahoo.com">briqueabraque@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I would like to write a Haskell pretty-printer,<br>
using standard libraries for that. How can I<br>
check if the original and the pretty-printed<br>
versions are the same? For instance, is there<br>
a file generated by GHC at the compilation<br>
pipe that is always guaranteed to have the<br>
same MD5 hash when it comes from equivalent<br>
source?<br>
<br>
Thanks,<br>
Maurício<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>/jve<br>
</div>