One day, I _really_ should learn all GHCI commands...<br><br>Thanks, Felipe ^^<br><br><div class="gmail_quote">2012/1/25 Felipe Almeida Lessa <span dir="ltr"><<a href="mailto:felipe.lessa@gmail.com">felipe.lessa@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Jan 25, 2012 at 7:38 PM, Yves Parès <<a href="mailto:yves.pares@gmail.com">yves.pares@gmail.com</a>> wrote:<br>
> But I haven't found a way to tell GHCI to fully evaluate 'x' but _not_ print<br>
> its value.<br>
<br>
</div>Use the :force, Yves!<br>
<div class="im"><br>
> 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)) }<br>
</div>> :force x<br>
<div class="im">,<br>
+<br>
a<br>
b<br>
*<br>
c<br>
d<br>
</div>x = (41,900)<br>
<br>
Cheers! =)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Felipe.<br>
</font></span></blockquote></div><br>