Bang patterns, ~ patterns, and lazy let

Simon Peyton-Jones simonpj at microsoft.com
Tue Feb 7 17:37:43 EST 2006


Applying the rules on the wiki, the first step is to translate the first
expression into a tuple binding, omitting the implicit ~:

 

Not so!  I changed it a few days ago after talking to Ben, to a simpler
form that works nicely for recursive bindings too.  Darn - I forgot to
change the rules at the bottom.

 

Anyway, read the section "Let and where bindings". Sorry about the rules
at the end.

 

Simon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-prime/attachments/20060207/54320df9/attachment.htm


More information about the Haskell-prime mailing list