Generic diff and patch

Latest on Hackage:1.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 to host generated Haddocks.

BSD3 licensed by Eelco Lempsink, Andres Löh
Maintained by Andres Löh

Get an efficient, optimal, type-safe diff and patch function for your datatypes of choice by defining a simple GADT and some class instances.

Extracted from Eelco Lempsink's Thesis (


1.1 (2014-06-27)

  • Uses Data.Type.Equality.
  • Added a missing case in ‘patchL’ (thanks to Gabor Greif).

1.0 (2010-03-20)

  • Initial release
Depends on 1 package:
Used by 1 package:
comments powered byDisqus