The repr package
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))"
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.*) |
| 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 | git clone git://github.com/basvandijk/repr.git |
| Upload date | Sun Sep 23 16:04:43 UTC 2012 |
| Uploaded by | BasVanDijk |
| Built on | ghc-7.6 |
| Distributions | NixOS: 0.4.1.3 |
Modules
- Prelude
- Text
Downloads
- repr-0.4.1.3.tar.gz (Cabal source package)
- package description (included in the package)