One day, I _really_ should learn all GHCI commands...

Thanks, Felipe ^^

2012/1/25 Felipe Almeida Lessa <felipe.lessa@gmail.com>
On Wed, Jan 25, 2012 at 7:38 PM, Yves Parès <yves.pares@gmail.com> wrote:
> But I haven't found a way to tell GHCI to fully evaluate 'x' but _not_ print
> its value.

Use the :force, Yves!

> 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)) }
> :force x
,
+
 a
 b
*
 c
 d
x = (41,900)

Cheers! =)

--
Felipe.