The repr package

[Tags:bsd3, library]

This library allows you to render overloaded expressions to their textual representation. For example:

*Repr> let r = 1.5 + 2 + (3 + (-4) * (5 - pi / sqrt 6)) :: Repr Double
*Repr> extract r
17.281195923884734
*Repr> show rd
"1.5 + 2.0 + (3.0 + negate 4.0 * (5.0 - pi / sqrt 6.0))"

[Skip to Readme]

Properties

Versions 0.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
Dependencies base (>=3 && <4.7), base-unicode-symbols (>=0.1.1 && <0.3), dstring (>=0.3.0.1 && <0.5), random (==1.0.*), string-combinators (==0.6.*) [details]
License BSD3
Copyright (c) 2009-2012 Bas van Dijk
Author Bas van Dijk
Maintainer v.dijk.bas@gmail.com
Stability experimental
Category Numeric, Text
Home page https://github.com/basvandijk/repr
Bug tracker https://github.com/basvandijk/repr/issues
Source repository head: git clone git://github.com/basvandijk/repr.git
Uploaded Sun Sep 23 16:04:43 UTC 2012 by BasVanDijk
Distributions NixOS:0.4.1.3
Downloads 1960 total (52 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for repr

Readme for repr-0.4.1.3

This library allows you to render overloaded expressions to their textual representation. For example:

*Repr> let r = 1.5 + 2 + (3 + (-4) * (5 - pi / sqrt 6)) :: Repr Double
*Repr> extract r
17.281195923884734
*Repr> show rd
"1.5 + 2.0 + (3.0 + negate 4.0 * (5.0 - pi / sqrt 6.0))"