floatshow: Alternative faster String representations for Double and Float, String representations for more general numeric types.
The String representations provided by this package are generally longer than show's output, which constructs the shortest string that is parsed as the original number by read. This requires some time-consuming checks, so show is slow for floating-point numbers. By producing a digit-string guaranteed to be long enough to uniquely determine the number without caring whether there's a shorter representation, the display functions of this package can be faster, sometimes by a big margin. Text.FShow.Raw provides building blocks for representations of numeric types which don't belong to RealFloat but have some of its functionality. The bulk of the code is a minor modification of code from the base package, whence the GHC License is included as an extra-source-file.
[Skip to Readme]
|Versions||0.1, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4|
|Dependencies||array (>=0.1 && <0.4), base (==4.*), integer-gmp, integer-simple [details]|
|Copyright||(c) 2011 Daniel Fischer|
|Source repo||head: hg clone https://bitbucket.org/dafis/floatshow|
|Uploaded||by DanielFischer at Mon May 23 10:51:39 UTC 2011|
|Distributions||LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4, openSUSE:0.2.4|
|Downloads||2874 total (37 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees