[Haskell-cafe] Tutorial on Haskell

Ketil Malde ketil at ii.uib.no
Mon Apr 16 07:48:13 EDT 2007


On Mon, 2007-04-16 at 11:06 +0100, Dougal Stanton wrote:

> > A one-liner using PCRE regex might also be of use.

> Unless it can be performed with astounding dexterity, I don't think
> try to beat, for example, Perl at its own game will produce worthwhile
> results.

One possibility is a task where the Perl hacker will pull out regular
expressions, but where cleaner and more maintainable code can be written
using Haskell.  Possibly parsing a relatively simple, line based format
with 'words', 'concat', 'split', et al.?  Or a recursive format?

-k




More information about the Haskell-Cafe mailing list