diff in Haskell: clarification

George Russell ger@tzi.de
Fri, 22 Nov 2002 15:53:58 +0100


Yoann Padioleau wrote:
> 
> George Russell <ger@tzi.de> writes:
> 
> >
> > This is a well-known problem.  The most helpful Web page I could find about it is here:
> >
> >    http://apinkin.net/space/DifferenceEngine
> >
> > There is an algorithm known as Myer's algorithm, but obviously I want it in Haskell
> > rather than C, and it would be nice if someone else had written it so I don't have to.
> 
> why dont you call from haskell the C version ?
> or why dont you call the shell program diff ?

Because (a) I don't have a C version; (b) diff expects Strings, not arbitrary
Haskell values .  . .