Name: data-accessor-template
Version: 0.2.1.4
License: BSD3
License-File: LICENSE
Author: Luke Palmer <lrpalmer@gmail.com>, Henning Thielemann <haskell@henning-thielemann.de>
Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
Homepage: http://www.haskell.org/haskellwiki/Record_access
Package-URL: http://code.haskell.org/data-accessor/
Category: Data
Synopsis: Utilities for accessing and manipulating fields of records
Description:
Automate generation of @Accessor@'s of the @data-accessor@ package
by Template Haskell functions.
Build-Type: Simple
Tested-With: GHC==6.8.2 && ==6.10.4
Cabal-Version: >=1.2
Extra-Source-Files:
src-3/Data/Accessor/Template.hs
src-5/Data/Accessor/Template.hs
Flag template_2_4
Description: Adapt to newer TemplateHaskell version, this is ignored for GHC
Default: False
Library
Build-Depends:
data-accessor >=0.1 && <0.4,
utility-ht >=0.0.1 && <0.1,
base >=1.0 && <6
If impl(ghc)
If impl(ghc >= 6.12)
Hs-Source-Dirs: src-5
Build-Depends: template-haskell >=2.4 && <2.5
Else
Hs-Source-Dirs: src-3
Build-Depends: template-haskell >=2.2 && <2.4
-- This is for TemplateHaskell implementations other than that of GHC.
-- However, currently there are no such implementations.
-- This is the cleaner way to express the dependency,
-- however cabal-install's automated flag and package dependency resolution fails
-- either for GHC-6.10 or GHC-6.12
-- depending on the default value of the template_2_4 flag.
Else
If flag(template_2_4)
Hs-Source-Dirs: src-5
Build-Depends: template-haskell >=2.4 && <2.5
Else
Hs-Source-Dirs: src-3
Build-Depends: template-haskell >=2.2 && <2.4
Exposed-Modules:
Data.Accessor.Template
Other-Modules:
Data.Accessor.Template.Example
Hs-Source-Dirs: src
Extensions: CPP, TemplateHaskell
GHC-Options: -Wall