binary-derive: Automatic deriving of Binary using GHC.Generics
This package provides deriveGet and derivePut which can be used to quickly create an instance of Binary for any time which implements Generic. Naturally, this can be used with -XDeriveGeneric to not have to write any boilerplate code. This differs from binary-generic which relies on the Data class instead and doesn't seem to have quite the same implementation philosophy. Once Ghc 7.2 is stable, this could be combined into the binary package to provide a sensible default for the Binary class.
Downloads
- binary-derive-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.0 |
---|---|
Dependencies | base (<4.5), binary (<0.7), ghc-prim (<0.3) [details] |
License | GPL-3.0-only |
Author | Jared Hance |
Maintainer | Jared Hance <jaredhance@gmail.com> |
Category | Data |
Source repo | head: git clone https://github.com/jhance/binary-derive |
Uploaded | by JaredHance at 2011-11-05T17:01:54Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2073 total (10 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |