generic-deriving: Generic programming library for generalised deriving.

[ bsd3, generics, library ] [ Propose Tags ]

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]

Flags

Automatic Flags
NameDescriptionDefault
base-4-9

Use base-4.9 or later. This version of base uses a DataKinds-based encoding of GHC generics metadata.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5 (info)
Change log CHANGELOG.md
Dependencies base (>=4.3 && <5), containers (>=0.1 && <0.7), ghc-prim (<1), template-haskell (>=2.4 && <2.15), th-abstraction (>=0.2.9 && <0.3) [details]
License BSD-3-Clause
Copyright 2011-2013 Universiteit Utrecht, University of Oxford
Author José Pedro Magalhães
Maintainer generics@haskell.org
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-02-09T20:49:15Z
Distributions Arch:1.14.5, Debian:1.13.1, Fedora:1.14.4, FreeBSD:1.8.0, LTSHaskell:1.14.5, NixOS:1.14.5, Stackage:1.14.5
Reverse Dependencies 56 direct, 14583 indirect [details]
Downloads 142891 total (397 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-02-09 [all 1 reports]

Readme for generic-deriving-1.12.3

[back to package description]

generic-deriving: Generic programming library for generalised deriving

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build

This package provides functionality for generalising the deriving mechanism in Haskell to arbitrary classes. It was first described in the paper:

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.