The one-liner package

[Tags:bsd3, library]

Write short and concise generic instances of type classes.

There are two separate parts: Generics.OneLiner is for writing generic functions using GHC.Generics. The other modules show how to implement these same generic functions with a traversal-style generics type class, without the use of an intermediate generic representation type.

Properties

Versions 0, 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.5, 0.5.1, 0.5.2
Dependencies base (>=4.7 && <5), contravariant (>=1.2 && <1.4), ghc-prim, transformers (>=0.3 && <0.6) [details]
License BSD3
Author Sjoerd Visscher
Maintainer sjoerd@w3future.com
Stability Unknown
Category Generics
Home page https://github.com/sjoerdvisscher/one-liner
Bug tracker https://github.com/sjoerdvisscher/one-liner/issues
Source repository head: git clone git://github.com/sjoerdvisscher/one-liner.git
Uploaded Wed Dec 30 18:04:58 UTC 2015 by SjoerdVisscher
Distributions NixOS:0.5.2
Downloads 1825 total (27 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-30 [all 1 reports]

Modules

  • Generics
    • Generics.OneLiner
      • Generics.OneLiner.ADT
      • Generics.OneLiner.ADT1
      • Generics.OneLiner.Functions
      • Generics.OneLiner.Functions1
      • Generics.OneLiner.Info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees