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 (==0.5.*), gdiff (==1.0.*), lens (==3.0.*), mtl (==2.1.*), pointless-haskell (==0.0.*), template-haskell (==2.8.*), th-expand-syns (==0.3.*), uniplate (==1.6.*) [details]
License BSD3
Category Generics
Uploaded Mon Oct 22 20:23:49 UTC 2012 by JonathanFischoff
Distributions NixOS:
Downloads 3177 total (36 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