Hi, nice little package!

I just made a fork and added a new function makeHTrace to be able to have separate variables 'level'.
I also add the htrace type signature (or else haddock won't generate documentation for this module):
https://github.com/YwenP/htrace

I was also investigating in a way to fix an annoyment. You see, in GHCI:

> let {a = htrace "a" 12; b = htrace "b" 29; c = htrace "c" 10; d = htrace "d" 90; x = htrace "," (htrace "+" (a+b), htrace "*" (c*d)) }
> x

prints:

,
(+
  a
  b
41,*
  c
  d
900)

Instead, we'd like to have (if I'm right):

,
  +
    a
    b
  *
    c
    d
(41,900)

But I haven't found a way to tell GHCI to fully evaluate 'x' but _not_ print its value.

2012/1/25 Eugene Kirpichov <ekirpichov@gmail.com>
Thanks!

I released it:

http://hackage.haskell.org/package/htrace
http://github.com/jkff/htrace


On Wed, Jan 25, 2012 at 4:18 AM, Felipe Almeida Lessa <felipe.lessa@gmail.com> wrote:
Really nice!  Looks like it could be a useful mini-package on Hackage.

--
Felipe.



--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe