It is not quite "diff" but there is an "edit distance" in Haskell here http://www.csse.monash.edu.au/~lloyd/tildeFP/Haskell/1998/Edit01/ it might provide a starting point. (Diff treats a line as a "character" and, I think, uses an algorithm that's fast for small numbers of changes.)
Lloyd -- Lloyd ALLISON, CSSE, Monash University, Victoria, Australia 3168. web: http://www.csse.monash.edu.au/~lloyd/ tel: +61 3 9905 5205 use: http://www.linux.org/ OpenOffice: http://www.openoffice.org/ _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell