Source

text / text.cabal

The default branch has multiple heads

Full commit
Duncan Coutts 70f96f8 
Bryan O'Sullivan 68a32d8 
Bryan O'Sullivan 7d8da71 

Don Stewart 398067d 
Bryan O'Sullivan 4d31ea8 
Don Stewart 398067d 










Bryan O'Sullivan 9296a05 

Don Stewart 398067d 


Bryan O'Sullivan 9296a05 
Don Stewart 398067d 



Bryan O'Sullivan 9296a05 




Bryan O'Sullivan adfbf29 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 23c0932 
Bryan O'Sullivan 182a4ab 
Bryan O'Sullivan ed3a60e 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 0a245c7 
Bryan O'Sullivan 61c322b 
Bryan O'Sullivan 0d75c6b 

Bryan O'Sullivan 85a3324 


Bryan O'Sullivan 43cf01b 

Bryan O'Sullivan 31f5761 
Bryan O'Sullivan 85a3324 


Bryan O'Sullivan adfbf29 
Bryan O'Sullivan 31f5761 
Bryan O'Sullivan b49eebf 
Bryan O'Sullivan 870abbf 
Bryan O'Sullivan 43cf01b 
Bryan O'Sullivan 62a9965 

Bryan O'Sullivan 43cf01b 
Bryan O'Sullivan b0fbfd5 
Bryan O'Sullivan 62a9965 

Duncan Coutts 70f96f8 
Bryan O'Sullivan 2e22a56 



Thomas M. DuBuis… e1a138b 



Duncan Coutts 70f96f8 
Bryan O'Sullivan fbc2fa3 

Bryan O'Sullivan ed3a60e 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 36b2a3a 
Bryan O'Sullivan 16ff63b 
Bryan O'Sullivan 4a127e8 
Bryan O'Sullivan f4f76b6 
Bryan O'Sullivan a4c745c 
Bryan O'Sullivan 36b2a3a 
Bryan O'Sullivan 15e81a5 



Bryan O'Sullivan 65a5afb 




Bryan O'Sullivan 15e81a5 
Bryan O'Sullivan d73fadd 




Bryan O'Sullivan 59399f6 
Bryan O'Sullivan 15e81a5 
Bryan O'Sullivan 7e7e3a1 


Bryan O'Sullivan 9275047 
Bryan O'Sullivan fdd2af8 
Bryan O'Sullivan 9275047 



Bryan O'Sullivan 9f6ffc1 
Bryan O'Sullivan 2583c7c 
Bryan O'Sullivan 1882815 

Bryan O'Sullivan 935c76d 
Bryan O'Sullivan 5c0ae30 
Bryan O'Sullivan 36b2a3a 
Bryan O'Sullivan 83667e3 
Bryan O'Sullivan 0145487 
Bryan O'Sullivan d99cd09 
Duncan Coutts 70f96f8 

Herbert Valerio … d67c5b8 



Duncan Coutts 70f96f8 
Bryan O'Sullivan 8eb133e 




Herbert Valerio … d67c5b8 

Bryan O'Sullivan 2e22a56 
Bryan O'Sullivan a9d582a 
Bryan O'Sullivan 2e22a56 
Bryan O'Sullivan c6bb1bb 
Bryan O'Sullivan dd0f8a9 
Herbert Valerio … d67c5b8 



Bryan O'Sullivan 1882815 
Herbert Valerio … d67c5b8 
Bryan O'Sullivan 1882815 
Bryan O'Sullivan 0a245c7 

Bryan O'Sullivan 7c2d5d1 
Bryan O'Sullivan c0c1eae 
Bryan O'Sullivan 7c2d5d1 
Bryan O'Sullivan fbc2fa3 
Bryan O'Sullivan 0a245c7 




Bryan O'Sullivan c0d3e79 
Bryan O'Sullivan 0a245c7 

Bryan O'Sullivan c0c1eae 

Bryan O'Sullivan 7c2d5d1 
Bryan O'Sullivan c0c1eae 



Bryan O'Sullivan cde48ca 
Bryan O'Sullivan c0c1eae 


Bryan O'Sullivan 7c2d5d1 

Herbert Valerio … d67c5b8 



Bryan O'Sullivan 7c2d5d1 
Herbert Valerio … d67c5b8 
Bryan O'Sullivan 0a245c7 
Bryan O'Sullivan dd0f8a9 
Bryan O'Sullivan 7d8da71 



Bryan O'Sullivan 23c0932 
Bryan O'Sullivan 4eeea1d 
name:           text
version:        1.1.0.1
homepage:       https://github.com/bos/text
bug-reports:    https://github.com/bos/text/issues
synopsis:       An efficient packed Unicode text type.
description:
    .
    An efficient packed, immutable Unicode text type (both strict and
    lazy), with a powerful loop fusion optimization framework.
    .
    The 'Text' type represents Unicode character strings, in a time and
    space-efficient manner. This package provides text processing
    capabilities that are optimized for performance critical use, both
    in terms of large data quantities and high speed.
    .
    The 'Text' type provides character-encoding, type-safe case
    conversion via whole-string case conversion functions. It also
    provides a range of functions for converting 'Text' values to and from
    'ByteStrings', using several standard encodings.
    .
    Efficient locale-sensitive support for text IO is also supported.
    .
    These modules are intended to be imported qualified, to avoid name
    clashes with Prelude functions, e.g.
    .
    > import qualified Data.Text as T
    .
    To use an extended and very rich family of functions for working
    with Unicode text (including normalization, regular expressions,
    non-standard encodings, text breaking, and locales), see
    the @text-icu@ package:
    <http://hackage.haskell.org/package/text-icu>

license:        BSD3
license-file:   LICENSE
author:         Bryan O'Sullivan <bos@serpentine.com>
maintainer:     Bryan O'Sullivan <bos@serpentine.com>
copyright:      2009-2011 Bryan O'Sullivan, 2008-2009 Tom Harper
category:       Data, Text
build-type:     Simple
cabal-version:  >= 1.8
extra-source-files:
    -- scripts/CaseFolding.txt
    -- scripts/SpecialCasing.txt
    README.markdown
    benchmarks/Setup.hs
    benchmarks/cbits/*.c
    benchmarks/haskell/*.hs
    benchmarks/haskell/Benchmarks/*.hs
    benchmarks/haskell/Benchmarks/Programs/*.hs
    benchmarks/python/*.py
    benchmarks/ruby/*.rb
    benchmarks/text-benchmarks.cabal
    changelog
    include/*.h
    scripts/*.hs
    tests-and-benchmarks.markdown
    tests/*.hs
    tests/.ghci
    tests/Makefile
    tests/Tests/*.hs
    tests/cabal.config
    tests/scripts/*.sh
    tests/text-tests.cabal

flag developer
  description: operate in developer mode
  default: False

flag integer-simple
  description: Use the simple integer library instead of GMP
  default: False

library
  c-sources:    cbits/cbits.c
  include-dirs: include

  exposed-modules:
    Data.Text
    Data.Text.Array
    Data.Text.Encoding
    Data.Text.Encoding.Error
    Data.Text.Foreign
    Data.Text.IO
    Data.Text.Internal
    Data.Text.Internal.Builder
    Data.Text.Internal.Builder.Functions
    Data.Text.Internal.Builder.Int.Digits
    Data.Text.Internal.Builder.RealFloat.Functions
    Data.Text.Internal.Encoding.Fusion
    Data.Text.Internal.Encoding.Fusion.Common
    Data.Text.Internal.Encoding.Utf16
    Data.Text.Internal.Encoding.Utf32
    Data.Text.Internal.Encoding.Utf8
    Data.Text.Internal.Functions
    Data.Text.Internal.Fusion
    Data.Text.Internal.Fusion.CaseMapping
    Data.Text.Internal.Fusion.Common
    Data.Text.Internal.Fusion.Size
    Data.Text.Internal.Fusion.Types
    Data.Text.Internal.IO
    Data.Text.Internal.Lazy
    Data.Text.Internal.Lazy.Encoding.Fusion
    Data.Text.Internal.Lazy.Fusion
    Data.Text.Internal.Lazy.Search
    Data.Text.Internal.Private
    Data.Text.Internal.Read
    Data.Text.Internal.Search
    Data.Text.Internal.Unsafe
    Data.Text.Internal.Unsafe.Char
    Data.Text.Internal.Unsafe.Shift
    Data.Text.Lazy
    Data.Text.Lazy.Builder
    Data.Text.Lazy.Builder.Int
    Data.Text.Lazy.Builder.RealFloat
    Data.Text.Lazy.Encoding
    Data.Text.Lazy.IO
    Data.Text.Lazy.Internal
    Data.Text.Lazy.Read
    Data.Text.Read
    Data.Text.Unsafe

  build-depends:
    array      >= 0.3,
    base       >= 4.2 && < 5,
    deepseq    >= 1.1.0.0,
    ghc-prim   >= 0.2

  if impl(ghc >= 7.7)
    build-depends: bytestring >= 0.10.4.0
  else
    build-depends: bytestring >= 0.9

  cpp-options: -DHAVE_DEEPSEQ
  ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
  if flag(developer)
    ghc-prof-options: -auto-all
    ghc-options: -Werror
    cpp-options: -DASSERTS

  if flag(integer-simple)
    cpp-options: -DINTEGER_SIMPLE
    build-depends: integer-simple >= 0.1 && < 0.5
  else
    cpp-options: -DINTEGER_GMP
    build-depends: integer-gmp >= 0.2

test-suite tests
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests .
  main-is:        Tests.hs
  c-sources:      cbits/cbits.c
  include-dirs:   include

  ghc-options:
    -Wall -threaded -O0 -rtsopts

  cpp-options:
    -DASSERTS -DHAVE_DEEPSEQ -DTEST_SUITE

  build-depends:
    HUnit >= 1.2,
    QuickCheck >= 2.4,
    array,
    base,
    bytestring,
    deepseq,
    directory,
    ghc-prim,
    random,
    test-framework >= 0.4,
    test-framework-hunit >= 0.2,
    test-framework-quickcheck2 >= 0.2

  if flag(integer-simple)
    cpp-options: -DINTEGER_SIMPLE
    build-depends: integer-simple >= 0.1 && < 0.5
  else
    cpp-options: -DINTEGER_GMP
    build-depends: integer-gmp >= 0.2

source-repository head
  type:     git
  location: https://github.com/bos/text

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/text