Re: diff in Haskell: clarification
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 ? you dont want unsafe stuff in your program :) ?
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/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. ____**
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 . . .
participants (2)
-
George Russell -
Yoann Padioleau