The gdiff-th package

[ Tags: 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 BSD3
Copyright (c) 2012 Jonathan Fischoff
Author Jonathan Fischoff
Category Generics, Testing
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Wed Oct 24 01:34:04 UTC 2012 by JonathanFischoff
Distributions NixOS:
Downloads 2044 total (11 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees