NOTICE: This package has been removed from pkgsrc

./devel/hs-text, Efficient packed Unicode text type

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]

Branch: CURRENT, Version:, Package name: hs-text-, Maintainer: pho

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

Required to run:

Required to build:

Master sites:

SHA1: ffeacd3aad975ef68e2143558711672108e15d46
RMD160: a0b7592e1e3a0930db536be283587610d460a832
Filesize: 167.458 KB

Version history: (Expand)

CVS history: (Expand)

   2020-01-11 12:25:29 by Masatake Daimon | Files touched by this commit (4) | Package removed
Log message:
Remove devel/hs-text

It's now part of GHC.
   2019-12-31 09:59:52 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
Update to text-
* Add TH Lift instances for Data.Text.Text and Data.Text.Lazy.Text
* Update Haddock documentation to better reflect fusion eligibility;
  improve fusion rules for takeWhileEnd and length (gh-241, ghc-202)
* Optimise Data.Text.replicate from O(n) to O(log n) (gh-209)
* Support base-
* Make decodeUtf8With fail explicitly for unsupported non-BMP
  replacement characters instead silent undefined behaviour (gh-213)
* Fix termination condition for file reads via Data.Text.IO operations
* A serious correctness issue affecting uses of take and drop with
  negative counts has been fixed (gh-227)
* A bug in the case-mapping functions resulting in unreasonably large
  allocations with large arguments has been fixed (gh-221)
* Spec compliance: toCaseFold now follows the Unicode 9.0 spec
  (updated from 8.0).
* Bug fix: the lazy takeWhileEnd function violated the lazy text
  invariant (gh-184).
* Bug fix: Fixed usage of size hints causing incorrect behavior
* New function: unsnoc (gh-173).
* Reduce memory overhead in encodeUTF8 (gh-194).
* Improve UTF-8 decoder error-recovery (gh-182).
* Minor documentation improvements (@since annotations, more examples,
* The toTitle function now correctly handles letters that immediately
  follow punctuation. Before, "there's" would turn into
  "There'S". Now, it becomes "There's".
* The implementation of unstreaming is faster, resulting in operations
  such as map and intersperse speeding up by up to 30%, with smaller
  code generated.
* The optimised length comparison function is now more likely to be
  used after some rewrite rule tweaking.
* Bug fix: an off-by-one bug in takeEnd is fixed.
* Bug fix: a logic error in takeWord16 is fixed.
* The switch to integer-pure in was apparently mistaken. The
  build flag has been renamed accordingly. Your army of diligent
  maintainers apologizes for the churn.
* Spec compliance: toCaseFold now follows the Unicode 8.0 spec
  (updated from 7.0)
* An STG lint error has been fixed
   2016-01-10 12:48:07 by Ryosuke Moro | Files touched by this commit (3)
Log message:
Update to


* The `integer-simple` package, upon which this package optionally
  depended, has been replaced with `integer-pure`.  The build flag has
  been renamed accordingly.

* Bug fix: For the `Binary` instance, If UTF-8 decoding fails during a
  `get`, the error is propagated via `fail` instead of an uncatchable

* New function: `takeWhileEnd`

* New instances for the `Text` types:
    * if `base` >= 4.7: `PrintfArg`
    * if `base` >= 4.9: `Semigroup`
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-02 13:26:16 by Ryosuke Moro | Files touched by this commit (3)
Log message:
Update to


* Bug fix: As it turns out, moving the literal rewrite rules to simplifier
  phase 2 does not prevent competition with the `unpack` rule, which is
  also active in this phase. Unfortunately this was hidden due to a silly
  test environment mistake. Moving literal rules back to phase 1 finally
  fixes GHC Trac #10528 correctly.

* Bug fix: Run literal rewrite rules in simplifier phase 2.
  The behavior of the simplifier changed in GHC 7.10.2,
  causing these rules to fail to fire, leading to poor code generation
  and long compilation times. See
  [GHC Trac #10528](
   2015-06-04 22:07:57 by Ryosuke Moro | Files touched by this commit (4) | Package updated
Log message:
Update to


* Expose unpackCString#, which you should never use.

* Added Binary instances for both Text types. (If you have previously
  been using the text-binary package to get a Binary instance, it is
  now obsolete.)

* Fixed a space leak in UTF-8 decoding

* Feature parity: repeat, cycle, iterate are now implemented for lazy
  Text, and the Data instance is more complete

* Build speed: an inliner space explosion has been fixed with toCaseFold

* Bug fix: encoding Int to a Builder would infinite-loop if the
  integer-simple package was used

* Deprecation: OnEncodeError and EncodeError are deprecated, as they
  are never used

* Internals: some types that are used internally in fusion-related
  functions have moved around, been renamed, or been deleted (we don't
  bump the major version if .Internal modules change)

* Spec compliance: toCaseFold now follows the Unicode 7.0 spec
  (updated from 6.3)

* Fixed an incompatibility with base < 4.5
   2014-12-12 23:53:35 by Ryosuke Moro | Files touched by this commit (3)
Log message:
Update to


* Update formatRealFloat to correspond to the definition in versions
  of base newer than 4.5 (
   2014-12-12 23:02:19 by Ryosuke Moro | Files touched by this commit (3)
Log message:
Update to


* Bumped lower bound on deepseq to 1.4 for compatibility with the
  upcoming GHC 7.10

* Fixed a buffer overflow in rendering of large Integers