[Haskell-cafe] Set of Haskell programs

Chris BROWN chrisb at cs.st-andrews.ac.uk
Wed Sep 15 08:41:07 EDT 2010

Hi Ivan,

HaRe itself is not Haskell 98, but for testing purposes we have used various Haskell 98 programs and test suites. One rather large full Haskell 98 program that we have used to test HaRe is nhc:


nhc also comes with various Haskell 98 test suites, all of which were very useful to test various transformations (and this is all Haskell 98).

Aside from nhc and its test suites, there are also exercises from Simon's text on Haskell from his webpage, that we have also used to test various refactorings:


This includes some nice examples for Huffman encoding and parsing, which are all Haskell 98.

I hope this helps,
Kind regards,

>> From: Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>
>> Date: 15 September 2010 11:23:54 GMT+01:00
>> To: Enrique Martín <emartinm at fdi.ucm.es>
>> Cc: haskell-cafe at haskell.org
>> Subject: Re: [Haskell-cafe] Set of Haskell programs
>> 2010/9/15 Enrique Martín <emartinm at fdi.ucm.es>:
>>> Hello,
>>> I would want to ask if there is any set of "real" Haskell 98 programs
>>> publicly available. I am working on a program transformation and I would
>>> want to test it with several "real" programs. I think it is a good idea to
>>> have a set of standard programs that people could use to check the
>>> efficiency of their transformation/optimizations.
>> HaRe is presumably.
>> -- 
>> Ivan Lazar Miljenovic
>> Ivan.Miljenovic at gmail.com
>> IvanMiljenovic.wordpress.com
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list