packages feed

regular-0.3.4.3: regular.cabal

name:                   regular
version:                0.3.4.3
synopsis:               Generic programming library for regular datatypes.
description:

  This package provides generic functionality for regular datatypes.
  Regular datatypes are recursive datatypes such as lists, binary trees,
  etc. This library cannot be used with mutually recursive datatypes or
  with nested datatypes. The multirec library [1] can deal with mutually
  recursive datatypes.
  . 
  This library has been described in the paper:
  .
  *  /A Lightweight Approach to Datatype-Generic Rewriting./
     Thomas van Noort, Alexey Rodriguez, Stefan Holdermans, Johan Jeuring, Bastiaan Heeren.
     ACM SIGPLAN Workshop on Generic Programming 2008.
  .
  More information about this library can be found at
  <http://www.cs.uu.nl/wiki/GenericProgramming/Regular>.
  .
  \[1] <http://hackage.haskell.org/package/multirec>

category:               Generics
copyright:              (c) 2011 Universiteit Utrecht, 2012 University of Oxford
license:                BSD3
license-file:           LICENSE
author:                 Jose Pedro Magalhaes
maintainer:             generics@haskell.org
stability:              experimental
build-type:             Custom
cabal-version:          >= 1.6
extra-source-files:     examples/Test.hs
                        ChangeLog
                        CREDITS

source-repository head
  type: git
  location: git://github.com/dreixel/regular.git

library
  hs-source-dirs:       src
  exposed-modules:      Generics.Regular
                        Generics.Regular.Base
                        Generics.Regular.Constructor
                        Generics.Regular.Selector
                        Generics.Regular.TH
                        
                        Generics.Regular.Functions
                        Generics.Regular.Functions.ConNames
                        Generics.Regular.Functions.Crush
                        Generics.Regular.Functions.Eq
                        Generics.Regular.Functions.Fold
                        Generics.Regular.Functions.GMap
                        Generics.Regular.Functions.LR
                        Generics.Regular.Functions.Read
                        Generics.Regular.Functions.Show
                        Generics.Regular.Functions.Zip
                        
  build-depends:        base >= 4.0 && < 5
  if impl(ghc >= 6.12)
    build-depends:      template-haskell >=2.4 && <2.10
    cpp-options:          -DTH_TYVARBNDR
  else
    build-depends:      template-haskell >= 2.2 && < 2.4
  ghc-options:          -Wall