[Haskell-cafe] ANNOUNCE: repr-0.3.2
Bas van Dijk
v.dijk.bas at gmail.com
Wed Dec 23 18:23:22 EST 2009
Some months ago I uploaded a little package called 'repr' to hackage.
I've now updated the package to work with ghc-6.12.1 and its new base
library 22.214.171.124. Back then I forgot to make a proper announcement so I
will do that now:
'repr' 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) + 2 + (3 + negate 4 * (5 - pi / sqrt 6))"
More information about the Haskell-Cafe