generic-deriving: Generic programming library for generalised deriving.
This package provides functionality for generalising the deriving mechanism in Haskell to arbitrary classes. It was first described in the paper:
A generic deriving mechanism for Haskell. Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. Haskell'10.
The current implementation integrates with the new GHC Generics. See http://www.haskell.org/haskellwiki/GHC.Generics for more information. Template Haskell code is provided for supporting older GHCs.
[Skip to Readme]
Versions [faq] | 0.3, 0.3.1, 0.4, 1.0.1, 1.0.2, 1.0.3, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.4.1, 1.10.5, 1.10.6, 1.10.7, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.13, 1.13.1, 1.14 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.3 && <5), containers (>=0.1 && <0.7), ghc-prim (==0.*), template-haskell (>=2.4 && <2.16), th-abstraction (>=0.2.9 && <0.4) [details] |
License | BSD-3-Clause |
Copyright | 2011-2013 Universiteit Utrecht, University of Oxford |
Author | José Pedro Magalhães |
Maintainer | generics@haskell.org |
Revised | Revision 1 made by ryanglscott at 2019-05-02T12:59:49Z |
Category | Generics |
Home page | https://github.com/dreixel/generic-deriving |
Bug tracker | https://github.com/dreixel/generic-deriving/issues |
Source repo | head: git clone https://github.com/dreixel/generic-deriving |
Uploaded | by ryanglscott at 2019-04-26T13:27:39Z |
Distributions | Arch:1.14, Debian:1.12.2, Fedora:1.13.1, FreeBSD:1.8.0, LTSHaskell:1.12.4, NixOS:1.14, Stackage:1.12.4, openSUSE:1.13.1 |
Downloads | 112455 total (802 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-04-26 [all 1 reports] |
Modules
[Index] [Quick Jump]
- Generics
- Generics.Deriving
- Generics.Deriving.Base
- Generics.Deriving.ConNames
- Generics.Deriving.Copoint
- Generics.Deriving.Default
- Generics.Deriving.Enum
- Generics.Deriving.Eq
- Generics.Deriving.Foldable
- Generics.Deriving.Functor
- Generics.Deriving.Instances
- Generics.Deriving.Monoid
- Generics.Deriving.Semigroup
- Generics.Deriving.Show
- Generics.Deriving.TH
- Generics.Deriving.Traversable
- Generics.Deriving.Uniplate
- Generics.Deriving
Flags
Name | Description | Default | Type |
---|---|---|---|
base-4-9 | Use base-4.9 or later. This version of base uses a DataKinds-based encoding of GHC generics metadata. | Enabled | Automatic |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- generic-deriving-1.12.4.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.