[Haskell-cafe] Re: Is "let" special?
Maciej Piechotka
uzytkownik2 at gmail.com
Wed Nov 3 21:18:14 EDT 2010
On Wed, 2010-11-03 at 18:05 +0100, Petr Pudlak wrote:
> Hi Günther,
>
> from the semantical point of view, you can replace
> > let x = e' in e
> by
> > (\x -> e) e'
> Both should evaluate to the same thing.
You also need (sometimes) fix function
> let xs = 1:xs in xs
and
> fix (\xs -> 1:xs)
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20101103/6e4b4ed6/attachment.bin
More information about the Haskell-Cafe
mailing list