Name: data-accessor-template Version: 0.2.1.9 License: BSD3 License-File: LICENSE Author: Luke Palmer , Henning Thielemann Maintainer: Henning Thielemann Homepage: http://www.haskell.org/haskellwiki/Record_access Category: Data -- Default-Language: Haskell98 Cabal-Version: >=1.6 Build-Type: Simple Tested-With: GHC==6.8.2, GHC==6.10.4, GHC==6.12.3 Tested-With: GHC==7.0.1, GHC==7.2.2 Synopsis: Utilities for accessing and manipulating fields of records Description: Automate generation of @Accessor@'s of the @data-accessor@ package by Template Haskell functions. 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 Source-Repository head Type: darcs Location: http://code.haskell.org/data-accessor/template/ Library Build-Depends: data-accessor >=0.1 && <0.4, utility-ht >=0.0.1 && <0.1, base >=1.0 && <5 If impl(ghc) If impl(ghc >= 6.12) Hs-Source-Dirs: src-5 Build-Depends: template-haskell >=2.4 && <2.8 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.8 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