packages feed

syb-0.3.2: syb.cabal

name:                 syb
version:              0.3.2
license:              BSD3
license-file:         LICENSE
author:               Ralf Lammel, Simon Peyton Jones
maintainer:           generics@haskell.org
homepage:             http://www.cs.uu.nl/wiki/GenericProgramming/SYB
bug-reports:          http://code.google.com/p/scrapyourboilerplate/issues/list
synopsis:             Scrap Your Boilerplate
description:
    This package contains the generics system described in the
    /Scrap Your Boilerplate/ papers (see 
    <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>).
    It defines the @Data@ class of types permitting folding and unfolding
    of constructor applications, instances of this class for primitive
    types, and a variety of traversals.

category:               Generics
stability:              provisional
build-type:             Custom
cabal-version:          >= 1.6
tested-with:            GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.1

extra-source-files:     tests/*.hs,
                        README

Library {
  hs-source-dirs:         src
  build-depends:          base >= 4.0 && < 4.4
  exposed-modules:        Data.Generics,
                          Data.Generics.Basics,
                          Data.Generics.Instances,
                          Data.Generics.Aliases,
                          Data.Generics.Schemes,
                          Data.Generics.Text,
                          Data.Generics.Twins,
                          Data.Generics.Builders,
                          
                          Generics.SYB,
                          Generics.SYB.Basics,
                          Generics.SYB.Instances,
                          Generics.SYB.Aliases,
                          Generics.SYB.Schemes,
                          Generics.SYB.Text,
                          Generics.SYB.Twins,
                          Generics.SYB.Builders

  extensions:             CPP, Rank2Types, ScopedTypeVariables

  if impl(ghc < 6.12) 
    ghc-options:          -package-name syb
  
  ghc-options:            -Wall
}