gdiff-th: Generate gdiff GADTs and Instances.

[ bsd3, generics, library, testing ] [ Propose Tags ]

Generate gdiff GADTs and Instances. Alpha, but suprisingly functional. Very useful for unit testing large data structures. I have tested it on a few very large collections of types and it appears to work. Although, when I tried to compare two versions of a hackage package with src-exts the (GDiff) performance is terrible. In my personal experience of using gdiff in unit testing, the performance has be great. Your mileage may vary.

I wouldn't use it for sending patches over the wire or anything like that, I am not convinced there are no bugs in my code yet. There are examples in the examples directory of the cabal tarball. Also the main module includes an example in the documentation.

Dependencies base (>=4.0 && <=6.0), containers, gdiff (==1.0.*), mtl (==2.1.*), template-haskell (<2.9.0), th-expand-syns (==0.3.*), uniplate (==1.6.*) [details]
License BSD-3-Clause
Copyright (c) 2012 Jonathan Fischoff
Author Jonathan Fischoff
Category Generics, Testing
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by JonathanFischoff at Wed Oct 24 01:34:04 UTC 2012
Distributions NixOS:
Downloads 3273 total (25 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees