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

2008-09-17 Thread Mauricio
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

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

2008-09-17 Thread Svein Ove Aas
On Wed, Sep 17, 2008 at 7:04 PM, Mauricio [EMAIL PROTECTED] wrote: 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

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

2008-09-17 Thread Mauricio
Chaddaï Fouché a écrit : 2008/9/16 Mauricio [EMAIL PROTECTED]: 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