packages feed

one-liner-0.4: one-liner.cabal

Name:                 one-liner
Version:              0.4
Synopsis:             Constraint-based generics
Description:          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.
Homepage:             https://github.com/sjoerdvisscher/one-liner
Bug-reports:          https://github.com/sjoerdvisscher/one-liner/issues
License:              BSD3
License-file:         LICENSE
Author:               Sjoerd Visscher
Maintainer:           sjoerd@w3future.com
Category:             Generics
Build-type:           Simple
Cabal-version:        >= 1.6

Extra-Source-Files:
  examples/*.hs

Library
  HS-Source-Dirs:  src

  Exposed-modules:
    Generics.OneLiner
    Generics.OneLiner.ADT
    Generics.OneLiner.ADT1
    Generics.OneLiner.Functions
    Generics.OneLiner.Functions1
    Generics.OneLiner.Info

  Build-depends:
      base         >= 4.5 && < 5
    , transformers >= 0.3 && < 0.5
    , contravariant >= 1.2 && < 1.3
    , ghc-prim

source-repository head
  type:     git
  location: git://github.com/sjoerdvisscher/one-liner.git