wordsetdiff

Compare two files as sets of N-tuples of words.

http://people.csail.mit.edu/newton/wordsetdiff

Latest on Hackage:0.0.3.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed and maintained by Ryan Newton

This utility is useful for finding out if some old, misplaced version of a file (say from your old laptop) has any new text in it that never got checked in, synced, or copied over to your newest version of the file. The basic unix diff tool is sometimes incredibly unsatisfactory for this purpose, for example when text has been moved around, or when there are widespread whitespace differences.