Text +Data.Generics
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
—— RELEASE NOTES ——
Changes in 0.11.2.0:
* String literals are now converted directly from the format in which GHC stores them into Text, without an intermediate transformation through String, and without inlining of conversion code at each site where a string literal is declared.
Version 0.11.2.1
A text formatting library optimized for both ease of use and high performance.
Version 0.3.0.7
Tiny library dedicated for text formating in C# style.
Version 1.1.0
Haskell bindings to the International Components for Unicode (ICU) libraries. These libraries provide robust and full-featured Unicode services on a wide variety of platforms.
Features include:
* Both pure and impure bindings, to allow for fine control over efficiency and ease of use.
* Breaking of strings on character, word, sentence, and line boundaries.
* Access to the Unicode Character Database (UCD) of character metadata.
* String collation functions, for locales where the conventions for lexicographic ordering differ from the simple numeric ordering of character codes.
* Character set conversion functions, allowing conversion between Unicode and over 220 character encodings.
* Unicode normalization. (When implementations keep strings in a normalized form, they can be assured that equivalent strings have a unique binary representation.)
* Regular expression search and replace.
Version 0.6.3.4
text-json-qq provides json quasiquatation for Haskell.
This package expose the function jsonQQ that compile time converts json code into a Text.JSON.JSValue. jsonQQ got the signature
> jsonQQ :: QuasiQuoter.
Consult documentation in the module Text.JSON.QQ.
Version 0.4.1
Text.XML.Generic can automatically serialize from the Data-type class to XML-strings.
Version 0.1.1
XML quasiquoter. Can convert XML code into Haskell data structures compile time.
At the moment only Text.XML.Light (xml-package) backend.
Supports namespaces, attributes, embedding Haskell variables etc.
See github for more information and examples of usage.
Version 0.1
A simple Haskell program to provide tags for Haskell code completion in TextMate
Version 0.0.1.2
Graph plots of y(x), parametric (x(t),y(t)), and polar r(phi) functions with ASCII text.
Version 0.2
This package has been deprecated. Now the attoparsec includes all functionality from this library.
Version 0.8.5.3
This package has been deprecated. You recommend that you use either attoparsec-enumerator or attoparsec-conduit packages.
Version 0.2.0.1
A library for efficiently rendering Haskell datatypes to bytestrings.
Note: if you use GHCi or Template Haskell, please see the README file for important details about building this package, and other packages that depend on it: https://github.com/bos/blaze-textual#readme
Version 0.2.0.6
A library for efficiently rendering Haskell datatypes to bytestrings.
Note: if you use GHCi or Template Haskell, please see the README file for important details about building this package, and other packages that depend on it: https://github.com/mailrank/blaze-textual#readme
Version 0.2.1.1
This is a port of John Goerzen's convertible package, intended to distinguish between conversions which are guaranteed to succeed and those which might fail. It uses the attempt package, which in turn uses the failure package, so that this package is fully compatible with the failure framework.
This package currently contains all of the typeclasses and instances for convertible. However, as these features are ported to the convertible package, this package will be left with only the instances for converting to and from text types (String, ByteString (lazy and strict) and Text (lazy and strict).
Be aware that conversions to and from bytestrings assume UTF-8 encoding. If a different encoding is desired, you can use a newtype wrapper and declare an instance of ConvertAttempt or ConvertSuccess on it.
The main module to import is Data.Convertible.Text.
Version 0.4.0.2
Parse character delimited textual data
Version 0.3.0
This library provides an attoparsec-text parser and blaze-builder for XML Document Type Declaration (DTD) documents.
Version 0.1.1.2
Extends explicit-iomodes with Text operations
Version 0.1.0.7
The functions of this package helps loading GPipe textures from file. It is based on the stb-image package, and supports subsets of the JPG, PNG, TGA, BMP and PSD formats.
Version 1.0.3
A QuasiQuoter for interpolating values into Text strings.
Version 0.1.2.2
Extends safer-file-handles with Text operations
Version 0.2.0.2
interpolation with quasi-quotation: stick haskell variables into haskell strings
Note there is no dependency on haskell-src-extras. If you don't mind that dependency, you may want to look at using these packages: Interpolation, interpolatedstring-perl6, interpolatedstring-qq.
This package has 1 other general feature that those others may not (but would be easy to duplicate): instead of using quasi-quoting you can also use an external file. It also has url/embeding interpolation, with @ and ^, which are used in Yesod.
This package also uses blaze-builder for efficiently constructing strings (I am not sure what the other packages use). This might be of interest to you for large templates or performance sensitive code, or otherwise having a nice interface to blaze-builder
Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToText instance.
Please see http:www.yesodweb.combookshakespearean-templates for a more thorough description and examples of the shakespeare family of template languages.
Version 1.0.0.2
Provides SYB-with-class instances for Text from the text package.
Version 0.0.1
A clone of wl-pprint for use with the text library.
Version 1.0.0.0