Source

text / text.cabal

The default branch has multiple heads

Duncan Coutts 70f96f8 
Bryan O'Sullivan 36b2a3a 
Bryan O'Sullivan 23c0932 

Don Stewart 398067d 












Bryan O'Sullivan 9296a05 

Don Stewart 398067d 


Bryan O'Sullivan 9296a05 
Don Stewart 398067d 



Bryan O'Sullivan 9296a05 





Duncan Coutts 70f96f8 

Bryan O'Sullivan 23c0932 
Bryan O'Sullivan 182a4ab 
Bryan O'Sullivan 41f1fe1 
Duncan Coutts 70f96f8 
Bryan O'Sullivan cac1ad2 
Duncan Coutts 70f96f8 

Bryan O'Sullivan ee2a7f8 
Bryan O'Sullivan 61c322b 
Bryan O'Sullivan dd27611 
Bryan O'Sullivan 0d75c6b 

Bryan O'Sullivan 61c322b 




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



Bryan O'Sullivan 0d75c6b 


Bryan O'Sullivan 8fbf8bc 

Bryan O'Sullivan 04410b4 
Bryan O'Sullivan 0d75c6b 





Bryan O'Sullivan 85def26 
Bryan O'Sullivan 0d75c6b 


Duncan Coutts 70f96f8 
Bryan O'Sullivan 2e22a56 



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 9f6ffc1 
Bryan O'Sullivan 2583c7c 
Bryan O'Sullivan 935c76d 
Bryan O'Sullivan 5c0ae30 
Bryan O'Sullivan 36b2a3a 
Bryan O'Sullivan 83667e3 
Bryan O'Sullivan 0145487 
Bryan O'Sullivan b5596ba 









Bryan O'Sullivan 046b1a9 
Bryan O'Sullivan bdce891 
Bryan O'Sullivan 935c76d 
Bryan O'Sullivan 9f6ffc1 
Bryan O'Sullivan c8b6dce 
Bryan O'Sullivan 6f6b73e 
Bryan O'Sullivan dcc1207 
Duncan Coutts 70f96f8 
Bryan O'Sullivan fa76866 
Bryan O'Sullivan 889128b 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 6f79fce 
Bryan O'Sullivan 6963e28 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 6963e28 



Bryan O'Sullivan 1de0da9 
Duncan Coutts 70f96f8 
Bryan O'Sullivan 1a6a6e6 
Duncan Coutts 70f96f8 

Bryan O'Sullivan 2e22a56 
Bryan O'Sullivan a9d582a 
Bryan O'Sullivan 2e22a56 
Bryan O'Sullivan c6bb1bb 
Bryan O'Sullivan dd0f8a9 

Bryan O'Sullivan 23c0932 




name:           text
version:        0.11.0.3
homepage:       http://bitbucket.org/bos/text
bug-reports:    http://bitbucket.org/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>
                Tom Harper <rtomharper@googlemail.com>
                Duncan Coutts <duncan@haskell.org>
copyright:      2008-2009 Tom Harper, 2009-2010 Bryan O'Sullivan
category:       Data, Text
build-type:     Simple
cabal-version:  >= 1.6
extra-source-files:
    README.markdown
    -- scripts/CaseFolding.txt
    -- scripts/SpecialCasing.txt
    scripts/ApiCompare.hs
    scripts/Arsec.hs
    scripts/CaseFolding.hs
    scripts/CaseMapping.hs
    scripts/SpecialCasing.hs
    tests/Benchmarks.hs
    tests/Makefile
    tests/Properties.hs
    tests/QuickCheckUtils.hs
    tests/SlowFunctions.hs
    tests/StdioCoverage.hs
    tests/TestUtils.hs
    tests/benchmarks/Cut.hs
    tests/benchmarks/DecodeUtf8.hs
    tests/benchmarks/EncodeUtf8.hs
    tests/benchmarks/Equality.hs
    tests/benchmarks/FileIndices.hs
    tests/benchmarks/FileRead.hs
    tests/benchmarks/FoldLines.hs
    tests/benchmarks/HtmlCombinator.hs
    tests/benchmarks/Makefile
    tests/benchmarks/Replace.hs
    tests/benchmarks/ReplaceTags.hs
    tests/benchmarks/fileread.py
    tests/benchmarks/fileread_c.c
    tests/cover-stdio.sh

flag developer
  description: operate in developer mode
  default: False

library
  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.Lazy
    Data.Text.Lazy.Builder
    Data.Text.Lazy.Encoding
    Data.Text.Lazy.IO
    Data.Text.Lazy.Internal
    Data.Text.Lazy.Read
    Data.Text.Read
  other-modules:
    Data.Text.Encoding.Fusion
    Data.Text.Encoding.Fusion.Common
    Data.Text.Encoding.Utf16
    Data.Text.Encoding.Utf32
    Data.Text.Encoding.Utf8
    Data.Text.Fusion
    Data.Text.Fusion.CaseMapping
    Data.Text.Fusion.Common
    Data.Text.Fusion.Internal
    Data.Text.Fusion.Size
    Data.Text.IO.Internal
    Data.Text.Lazy.Encoding.Fusion
    Data.Text.Lazy.Fusion
    Data.Text.Lazy.Search
    Data.Text.Search
    Data.Text.Unsafe
    Data.Text.UnsafeChar
    Data.Text.UnsafeShift
    Data.Text.Util

  build-depends:
    base       < 5,
    bytestring >= 0.9 && < 1.0
  if impl(ghc >= 6.10)
    build-depends:
      ghc-prim, base >= 4, deepseq >= 1.1.0.0
    cpp-options: -DHAVE_DEEPSEQ
  else
    build-depends: extensible-exceptions
    extensions: PatternSignatures

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

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

source-repository head
  type:     git
  location: http://github.com/bos/text
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.