Odiff
The Odiff library allows to print and parse differences between files or strings, in the diff utility format. An additional library, Odiff_gui, can be used to display and/or merge differences in LablGtk2 applications.
Documentation

The documentation generated by OCamldoc can be browsed here: Odiff, Odiff_gui.