[Haskell-beginners] Disappointing thought on Haskell -- a simple space leak on "insert" is hard bug to catch

Brandon Allbery allbery.b at gmail.com
Tue Aug 19 16:48:50 UTC 2014


On Tue, Aug 19, 2014 at 11:34 AM, KC <kc1956 at gmail.com> wrote:

> Wouldn't the compiler know how "snd" works and therefore know that the
> first argument isn't needed?


No, snd is not a compiler built-in.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140819/6f1518fc/attachment.html>


More information about the Beginners mailing list