<div dir="ltr"><b>Top picks:<br></b><br><a href="http://jaspervdj.be/posts/2015-02-24-lru-cache.html">Jasper Van der Jeugt</a> shows how you can write an intuitive, obviously correct LRU cache perfectly polymorphic in both the key and value types of the cache lookup function. <a href="http://www.reddit.com/r/haskell/comments/2wz4tj/writing_an_lru_cache_in_haskell/">(Reddit discussion.)</a><br><br>Core is broken! Well, no, <a href="https://ghc.haskell.org/trac/ghc/ticket/9858">ticket 9858</a> reported previously is still open, and it's about translating an exotic species of Haskell into Core. But <a href="https://ghc.haskell.org/trac/ghc/ticket/10121">Javran Cheng</a> found out that the documented specification of Core's operational semantics is incomplete.<br><br><a href="http://neilmitchell.blogspot.com/2015/02/making-withsocketsdo-unnecessary.html">Neil Mitchell</a> removes the error-prone wart of <a href="http://hackage.haskell.org/package/network-2.6.0.2/docs/Network.html#v:withSocketsDo">withSocketsDo</a> in Windows network programming. Moving in for the kill is the triple combo of evaluate, NOINLINE, and unsafePerformIO. <a href="http://www.reddit.com/r/haskell/comments/2x7js6/making_withsocketsdo_unnecessary/">(Reddit discussion.)</a><br><br>Can you write a sorting algorithm? Can you write a fancy sorting algorithm? Can you write a sorting algorithm so fancy it hides a subtle bug? Can you write a sorting algorithm so fancy that it hides <a href="https://github.com/timjb/haskell-timsort/commit/d9c3e1e454c7d338320f8c2aa12e882921d42828">a bug so subtle</a> that it evades even QuickCheck because the smallest testcase is 2^49 big? But the good news is that QuickCheck doesn't see any regression in the bugfix. <a href="https://news.ycombinator.com/item?id=9100107#up_9112425">(Hacker News discussion.)</a><br><br><a href="https://ghc.haskell.org/trac/ghc/ticket/10106">The consequence of misspelling pragmas</a>, Or: when stumped on a compile error, turn on -Werror to see if you aren't missing something obvious.<br><br><b>Quote of the week:<br></b><a href="https://twitter.com/garry__cairns/status/571087073739976704">garry__cairns</a>: The trouble with learning #haskell is the more I expose myself to it the more I dislike what I have to work with to pay the bills. <br><br><b>Repo of the week: </b><a href="https://github.com/int-index/kalium">Kalium</a>: Turn <a href="https://int-index.github.io/kalium/examples.html">Pascal</a> into Haskell<br><br><div><br clear="all"><div><div class="gmail_signature">-- Kim-Ee</div></div>
</div></div>