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.*), string-combinators (==0.4.*), to-string-class (==0.1.*)
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 dateThu Sep 17 21:54:04 UTC 2009
Uploaded byBasVanDijk
DistributionsNixOS:0.4.1.3
Downloads522 total (47 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees