The blaze-textual package

[Tags: bsd3, library]

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


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.2.0.7, 0.2.0.8, 0.2.0.9, 0.2.1.0
Change logNone available
Dependenciesbase (==4.*), blaze-builder (>=0.2.1.4), bytestring, double-conversion (>=0.2.0.1), ghc-prim, integer (==0.1.*), integer-gmp (>=0.2 && <0.4), old-locale, text (>=0.11.0.2), time, vector [details]
LicenseBSD3
CopyrightCopyright 2011 MailRank, Inc.
AuthorBryan O'Sullivan <bos@serpentine.com>
MaintainerBryan O'Sullivan <bos@serpentine.com>
Stabilityexperimental
CategoryText
Home pagehttp://github.com/bos/blaze-textual
Bug trackerhttp://github.com/bos/blaze-textual/issues
Source repositoryhead: git clone http://github.com/bos/blaze-textual
head: hg clone http://bitbucket.org/bos/blaze-textual
UploadedThu Nov 17 20:12:49 UTC 2011 by BryanOSullivan
DistributionsDebian:0.2.1.0, Fedora:0.2.0.9, FreeBSD:0.2.1.0, LTSHaskell:0.2.1.0, NixOS:0.2.1.0, Stackage:0.2.1.0
Downloads22613 total (605 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
developeroperate in developer modeDisabledAutomatic
nativeuse slow native code for double conversionEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for blaze-textual-0.2.0.5

Welcome to blaze-textual

blaze-textual is a fast Haskell library for rendering common Haskell datatypes in text form using the blaze-builder library.

Important note for users of GHCi and Template Haskell

To achieve excellent performance for rendering floating point numbers, this package uses the double-conversion package.

Unfortunately, due to bugs in GHC, some uses of GHCi and Template Haskell can crash if this package is loaded.

If you are affected by these problems, you should expect the 5289 crash to look like this:

Loading package double-conversion-0.2.0.0 ... can't load .so/.DLL for: stdc++

The 5386 crash causes GHCi to die with a floating point exception (SIGFPE).

To work around these bugs, this package includes an alternative, slower, floating point conversion that is written in pure Haskell. Because it is 10 times slower than the double-conversion package, it is not the default.

To use it, reinstall this package by passing the native flag to cabal:

cabal install -fnative

Afterwards, you will also need to reinstall any downstream packages that depend on this one, e.g. the aeson JSON library:

cabal install aeson --reinstall

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

There's also a Mercurial mirror:

(You can create and contribute changes using either git or Mercurial.)

Authors

This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.