repr

Render overloaded expressions to their textual representation. https://github.com/basvandijk/repr

Latest on Hackage:0.4.1.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Bas van Dijk
Maintained by v.dijk.bas@gmail.com

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))"
comments powered byDisqus