On Sun, Feb 3, 2013 at 4:44 PM, Ben Millwood <[email protected]> wrote:
> I have two proposals, I suppose:
> - make bang patterns in let altogether invalid
I would prefer it to be valid. It's the syntactically most lightweight
option we have to force some thunks before using the resulting values
in a constructor that we have. Example
let !x = ...
!y = ...
in C x y
The alternative would be
let x = ...
y = ...
in x `seq` y `seq` C x y
which obscures the code much more.
My 2 cents.
-- Johan
_______________________________________________
Haskell-prime mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-prime