packages feed

HList-0.3.2.0: HList.cabal

Name:                HList
Version:             0.3.2.0
Category:            Data
Synopsis:            Heterogeneous lists
Description:         HList is a record system providing strongly typed heterogenous lists, records,
                     type-indexed products (TIP) and co-products; licensed under the MIT X License.
                     .
                     User code should import "Data.HList" or
                     "Data.HList.CommonMain" for a slightly more limited scope
License:             MIT
License-File:        LICENSE
Author:              2004 Oleg Kiselyov (FNMOC, Monterey), Ralf Laemmel (CWI/VU, Amsterdam),
                     Keean Schupke (London)
Maintainer:          oleg@pobox.com

Data-files:          README, ChangeLog
Cabal-version:       >= 1.10
Tested-With:         GHC==7.6.2, GHC==7.7
Build-Type:          Simple

Extra-Source-Files:
                     examples/*.hs,
                     examples/broken/*.hs,
                     examples/broken/*.lhs,

                     examples/*.ref,
                     examples/*.out,

                     examples/broken/*.ref,

                     Data/HList/broken/*.hs,
                     Data/HList/obsolete/*.hs

Source-Repository head
    type: darcs
    location: http://code.haskell.org/HList


library
  Build-Depends:       base >= 4 && < 5, template-haskell, ghc-prim, mtl

  Exposed-modules:     Data.HList,
                       Data.HList.CommonMain,
                       Data.HList.Data,
                       Data.HList.FakePrelude,
                       Data.HList.FakePrelude.Proxy,
                       Data.HList.HArray,
                       Data.HList.HList,
                       Data.HList.HListPrelude,
                       Data.HList.HOccurs,
                       Data.HList.HTypeIndexed,
                       Data.HList.HZip,
                       Data.HList.Keyword,
                       Data.HList.Label3,
                       Data.HList.Label6,
                       Data.HList.Labelable,
                       Data.HList.MakeLabels,
                       Data.HList.Record,
                       Data.HList.RecordPuns,
                       Data.HList.TIC,
                       Data.HList.TIP,
                       Data.HList.TypeEqO,
                       Data.HList.Variant
  Default-Language:    Haskell2010


  Ghc-Options:         -Wall -fno-warn-missing-signatures

  Default-Extensions:  ConstraintKinds
                       DataKinds
                       EmptyDataDecls
                       FlexibleContexts
                       FlexibleInstances
                       FunctionalDependencies
                       GADTs
                       KindSignatures
                       MultiParamTypeClasses
                       PolyKinds
                       RankNTypes,
                       ScopedTypeVariables
                       TypeFamilies
                       TypeOperators
                       UndecidableInstances

  if impl(ghc >= 7.7)
    Default-Extensions: AllowAmbiguousTypes
                        StandaloneDeriving

Test-Suite examples
  Type:     exitcode-stdio-1.0
  Ghc-Options: -threaded
  Main-Is: examples/runexamples.hs
  Default-Language:    Haskell2010
  Build-Depends:       base, hspec >= 1.7, directory, filepath,
                       process, syb, cmdargs, lens, HList, mtl

Test-Suite doctests
  Type:     exitcode-stdio-1.0
  Ghc-Options: -threaded
  Main-Is: examples/rundoctests.hs
  Build-Depends: base, doctest >= 0.8, process
  Default-Language:    Haskell2010