The repr package

[Tags: bsd3, library]

This library allows you to render a numeric expression to its textual representation. For example:

*Repr> let rd = 1.5 + 2 + (3 + (-4) * (5 - pi / sqrt 6)) :: Repr Double
*Repr> render rd
"fromRational (3 % 2) + fromInteger 2 + (fromInteger 3 + negate (fromInteger 4) * (fromInteger 5 - pi / sqrt (fromInteger 6)))"

Properties

Versions0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.2.1, 0.4, 0.4.1, 0.4.1.1, 0.4.1.2, 0.4.1.3
Dependenciesbase (>=3 && <4.2), dstring (>=0.3.0.1 && <0.4), string-combinators (==0.4.*), to-string-class (>=0.1.2 && <0.2)
LicenseBSD3
Copyright(c) 2009 Bas van Dijk
AuthorBas van Dijk
Maintainerv.dijk.bas@gmail.com
Stabilityexperimental
CategoryNumeric, Text
Source repositoryhead: darcs get http://code.haskell.org/~basvandijk/code/repr
Upload dateTue Sep 22 20:42:51 UTC 2009
Uploaded byBasVanDijk
DistributionsNixOS:0.4.1.3
Downloads586 total (39 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees