<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 12, 2014 at 5:07 PM, Corentin Dupont <span dir="ltr"><<a href="mailto:corentin.dupont@gmail.com" target="_blank">corentin.dupont@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Basically, with the following code, I want the evaluation to really happen on the "evaluate".<br>
</div></div></div><div><div><div><div><div>I found out that it doesn't: it is evaluated elsewhere (I don't know where).<br></div><div>If I put a putStrLn (commented below), the evaluation really happens there.<br>
</div></div></div></div></div></div></blockquote><div><br></div><div>`evaluate` only evaluates to the first constructor, I believe. `putStrLn` must necessarily do full evaluation. Perhaps `deepseq` would help?</div><div><br>
</div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>