On Sat, Dec 1, 2012 at 1:16 AM, Mark Thom <span dir="ltr"><<a href="mailto:markjordanthom@gmail.com" target="_blank">markjordanthom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote>> Is there a paper or other single resource that will help me thoroughly understand non-strictness in Haskell?<div><br></div><div>If performance is utterly vital the best resource is Core, as in, the ability to read it. The order of evaluation is all laid out there. Don [1] and Johan [2] have written variously about it.</div>
<div><br></div><div>[1] <a href="http://stackoverflow.com/questions/6121146/reading-ghc-core">http://stackoverflow.com/questions/6121146/reading-ghc-core</a></div><div>[2] <a href="http://blog.johantibell.com/2012/02/forcing-values-returned-from-monadic.html">http://blog.johantibell.com/2012/02/forcing-values-returned-from-monadic.html</a></div>
<div><br></div><div><div><br></div><div>-- Kim-Ee<br>
<br><br><div class="gmail_quote">On Sat, Dec 1, 2012 at 1:16 AM, Mark Thom <span dir="ltr"><<a href="mailto:markjordanthom@gmail.com" target="_blank">markjordanthom@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 class="im"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Haskell's laziness is tricky to understand coming from imperative
languages, but once you figure out its evaluation rules, you'll begin to
see the elegance.</blockquote></div><br></div>Is there a paper or other single resource that will help me thoroughly understand non-strictness in Haskell? Once my programs hit a certain level of complexity, their behaviour becomes much harder for me to predict. I've been using the wiki pages up to this point, but apparently they haven't pushed my understanding of laziness nearly far enough.<br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div></div>