diff in Haskell: clarification

Yoann Padioleau Yoann.Padioleau@irisa.fr
22 Nov 2002 15:59:22 +0100


George Russell <ger@tzi.de> writes:

> 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 .  . .

use show then read :)
do component-oriented-programming in haskell 


> 

-- 
          Yoann  Padioleau,  INSA de Rennes, France,
Opinions expressed here are only mine. Je n'écris qu'à titre personnel.
**____   Get Free. Be Smart.  Simply use Linux and Free Software.   ____**