repr: Render overloaded expressions to their textual representation.

[ bsd3, library, numeric, text ] [ Propose Tags ]

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]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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.5), base-unicode-symbols (>=0.1.1 && <0.3), dstring (>=0.3.0.1 && <0.5), random (>=1.0 && <1.1), string-combinators (>=0.6 && <0.7) [details]
License BSD-3-Clause
Copyright (c) 2009-2011 Bas van Dijk
Author Bas van Dijk
Maintainer v.dijk.bas@gmail.com
Category Numeric, Text
Home page https://github.com/basvandijk/repr/
Bug tracker https://github.com/basvandijk/repr/issues
Source repo head: git clone git://github.com/basvandijk/repr.git
Uploaded by BasVanDijk at 2011-08-15T18:45:48Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7458 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for repr-0.4.1.1

[back to package description]

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))"