packages feed

bytestring-0.9.1.0: bytestring.cabal

Name:                bytestring
Version:             0.9.1.0
Synopsis:            Fast, packed, strict and lazy byte arrays with a list interface
Description:
    .
    A time and space-efficient implementation of byte vectors using
    packed Word8 arrays, suitable for high performance use, both in terms
    of large data quantities, or high speed requirements. Byte vectors
    are encoded as strict 'Word8' arrays of bytes, and lazy lists of
    strict chunks, held in a 'ForeignPtr', and can be passed between C
    and Haskell with little effort.
    .
    Test coverage data for this library is available at:
        <http://code.haskell.org/~dons/tests/bytestring/hpc_index.html>
    .
License:             BSD3
License-file:        LICENSE
Category:            Data
Copyright:           Copyright (c) Don Stewart   2005-2008,
                               (c) Duncan Coutts 2006-2007,
                               (c) David Roundy  2003-2005.
Author:              Don Stewart, Duncan Coutts
Maintainer:          dons@galois.com, duncan@haskell.org
Stability:           provisional
Homepage:            http://www.cse.unsw.edu.au/~dons/fps.html
Tested-With:         GHC ==6.8.2
Build-Type:          Simple
Cabal-Version:       >= 1.2
extra-source-files:  README TODO

library
  build-depends:     base
  exposed-modules:   Data.ByteString
                     Data.ByteString.Char8
                     Data.ByteString.Unsafe
                     Data.ByteString.Internal
                     Data.ByteString.Lazy
                     Data.ByteString.Lazy.Char8
                     Data.ByteString.Lazy.Internal
                     Data.ByteString.Fusion

  extensions:        CPP, ForeignFunctionInterface

  if impl(ghc)
      extensions:  UnliftedFFITypes, MagicHash, UnboxedTuples, DeriveDataTypeable

  ghc-options: -fglasgow-exts
               -Wall -fno-warn-orphans
               -O2 -funbox-strict-fields 
               -fdicts-cheap -fno-method-sharing
               -fmax-simplifier-iterations10 -fcpr-off
  --
  -- -fglasgow-exts needed for local rewrite rules:
  --

  c-sources:         cbits/fpstring.c
  include-dirs:      include
  includes:          fpstring.h
  install-includes:  fpstring.h

  nhc98-options:     -K4M -K3M
  if impl(ghc <= 6.4.2)
    cc-options:     -DSLOW_FOREIGN_PTR