The repr package
This library allows you to render overloaded expressions to their textual representation. For example:
*Repr> let rd = 1.5 + 2 + (3 + (-4) * (5 - pi / sqrt 6)) :: Repr Double *Repr> show rd "fromRational (3 % 2) + fromInteger 2 + (fromInteger 3 + negate (fromInteger 4) * (fromInteger 5 - pi / sqrt (fromInteger 6)))"
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.2), dstring (≥0.3.0.1 & <0.4), random (1.0.*), string-combinators (0.4.*), to-string-class (≥0.1.2 & <0.2) |
| License | BSD3 |
| Copyright | (c) 2009 Bas van Dijk |
| Author | Bas van Dijk |
| Maintainer | v.dijk.bas@gmail.com |
| Stability | experimental |
| Category | Numeric, Text |
| Source repository | darcs get http://code.haskell.org/~basvandijk/code/repr |
| Upload date | Sun Sep 27 12:20:29 UTC 2009 |
| Uploaded by | BasVanDijk |
| Built on | ghc-6.10 |
| Build failure | ghc-6.12 (log) |
| Distributions | NixOS: 0.4.1.3 |
Modules
- Text
Downloads
- repr-0.3.tar.gz (Cabal source package)
- package description (included in the package)