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:

http://www.cs.york.ac.uk/fp/nhc98/

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:

http://www.cs.kent.ac.uk/people/staff/sjt/craft2e/Code/code.html

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

I hope this helps,
Kind regards,
Chris.

> 
> 
>> From: Ivan Lazar Miljenovic <[email protected]>
>> Date: 15 September 2010 11:23:54 GMT+01:00
>> To: Enrique Martín <[email protected]>
>> Cc: [email protected]
>> Subject: Re: [Haskell-cafe] Set of Haskell programs
>> 
>> 2010/9/15 Enrique Martín <[email protected]>:
>>> 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
>> [email protected]
>> IvanMiljenovic.wordpress.com
>> _______________________________________________
>> Haskell-Cafe mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to