[Haskell-cafe] How to check if two Haskell files are the same?

John Van Enk vanenkj at gmail.com
Tue Sep 16 20:32:55 EDT 2008


Before you reinvent the wheel, have you looked at Language.Haskell.Pretty?

http://haskell.org/ghc/docs/latest/html/libraries/haskell-src/Language-Haskell-Pretty.html

On Tue, Sep 16, 2008 at 10:30 AM, Mauricio <briqueabraque at yahoo.com> wrote:

> Hi,
>
> I would like to write a Haskell pretty-printer,
> using standard libraries for that. How can I
> check if the original and the pretty-printed
> versions are the same? For instance, is there
> a file generated by GHC at the compilation
> pipe that is always guaranteed to have the
> same MD5 hash when it comes from equivalent
> source?
>
> Thanks,
> Maurício
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
/jve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080916/d6c408b1/attachment.htm


More information about the Haskell-Cafe mailing list