packages feed

iteratee-0.8.9.3: iteratee.cabal

name:          iteratee
version:       0.8.9.3
synopsis:      Iteratee-based I/O
description:
  The Iteratee monad provides strict, safe, and functional I/O. In addition
  to pure Iteratee processors, file IO and combinator functions are provided.

  See @Data.Iteratee@ for full documentation.
category:      System, Data
author:        Oleg Kiselyov, John W. Lato
maintainer:    John W. Lato <jwlato@gmail.com>
license:       BSD3
license-file:  LICENSE
homepage:      http://www.tiresiaspress.us/haskell/iteratee
tested-with:   GHC == 7.6.0, GHC == 7.4.2
stability:     experimental

cabal-version: >= 1.10
build-type:    Simple

extra-source-files:
  CONTRIBUTORS
  README
  Examples/*.hs
  Examples/*.lhs
  Examples/*.txt
  tests/*.hs
  bench/*.hs

library
  default-language: Haskell2010
  hs-source-dirs:
    src

  if os(windows)
    cpp-options: -DUSE_WINDOWS
    exposed-modules:
      Data.Iteratee.IO.Windows
  else
    cpp-options: -DUSE_POSIX
    exposed-modules:
      Data.Iteratee.IO.Posix
      Data.Iteratee.IO.Fd
    build-depends:
      unix >= 2 && < 3

  build-depends:
    base                      >= 3       && < 6,
    ListLike                  >= 3.0     && < 4,
    MonadCatchIO-transformers >  0.2     && < 0.4,
    monad-control             == 0.3.* ,
    bytestring                >= 0.9     && < 0.11,
    containers                >= 0.2     && < 0.6,
    parallel                  >= 2       && < 4,
    transformers              >= 0.2     && < 0.4,
    transformers-base         >= 0.4     && < 0.5

  exposed-modules:
    Data.Nullable
    Data.NullPoint
    Data.Iteratee
    Data.Iteratee.Base
    Data.Iteratee.Base.ReadableChunk
    Data.Iteratee.Base.LooseMap
    Data.Iteratee.Binary
    Data.Iteratee.Char
    Data.Iteratee.Exception
    Data.Iteratee.IO
    Data.Iteratee.IO.Handle
    Data.Iteratee.IO.Interact
    Data.Iteratee.Iteratee
    Data.Iteratee.ListLike
    Data.Iteratee.Parallel
    Data.Iteratee.PTerm

  other-modules:
    Data.Iteratee.IO.Base

  ghc-options:   -Wall -O2
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs


Test-Suite testIteratee
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: testIteratee.hs
  hs-source-dirs: tests src
  ghc-options:    -fhpc -hpcdir dist/hpc/mix/iteratee-0.8.9.3

  if os(windows)
    cpp-options: -DUSE_WINDOWS
  else
    cpp-options: -DUSE_POSIX
    build-depends:
      unix                    >= 2 && < 3

  build-depends:
      base,
      bytestring,
      iteratee,
      MonadCatchIO-mtl,
      monad-control,
      mtl,
      ListLike,
      transformers,
      transformers-base,
      HUnit                      == 1.2.* ,
      QuickCheck                 >= 2   && < 3,
      test-framework             >= 0.3 && < 0.7,
      test-framework-quickcheck2 >= 0.2 && < 0.3,
      test-framework-hunit       >= 0.2 && < 0.3

benchmark bench-all
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: bench
  main-is:        BenchAll.hs

  if os(windows)
    cpp-options: -DUSE_WINDOWS
  else
    cpp-options: -DUSE_POSIX
    build-depends:
      unix                    >= 2 && < 3

  build-depends:
      iteratee,
      bytestring,
      MonadCatchIO-mtl,
      monad-control,
      mtl,
      ListLike,
      transformers,
      transformers-base,
      base       >= 3   && < 6,
      criterion  >= 0.6 && < 0.7,
      deepseq    >= 1.2 && < 2,
      mtl        >= 2   && < 3
  ghc-options: -O2


source-repository head
  type:     darcs
  location: http://www.tiresiaspress.us/haskell/iteratee