floatshow: Alternative faster String representations for Double and Float, String representations for more general numeric types.
|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.6), 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 Wed Mar 19 00:19:46 UTC 2014|
|Distributions||LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4, openSUSE:0.2.4|
|Downloads||2803 total (21 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI
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]
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees