
23 Dec
2009
23 Dec
'09
6:23 p.m.
Hello, 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 4.2.0.0. 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))" See: http://hackage.haskell.org/package/repr-0.3.2 regards, Bas