Fast rendering of common datatypes (deprecated) http://github.com/mailrank/blaze-textual
|Latest on Hackage:||0.2.1.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
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.
5289: Can’t use ghci with a library linked against libstdc++ (fixed in GHC 7.2.1).
5386: GHCi crashes with SIGFPE when using double-conversion package (not yet fixed at the time of writing)
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 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
We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.
Please report bugs via the github issue tracker.
Master git repository:
git clone git://github.com/mailrank/blaze-textual.git
There’s also a Mercurial mirror:
hg clone http://bitbucket.org/bos/blaze-textual
(You can create and contribute changes using either git or Mercurial.)
This library is written and maintained by Bryan O’Sullivan, email@example.com.