Alistair_Bayley:
> > [mailto:[EMAIL PROTECTED] On Behalf Of Donald 
> > Bruce Stewart
> > 
> > 3) -fbang-patterns
> > 
> > Better than `seq`
> 
> Better in the "more convenient to write" sense, right? AFAIUI, seq and
> bang patterns should be equivalent.
> 

Yes, in the 'more convenient' sense. Adding strictness speculatively,
while trying to debug a leak, is easier when inserting !, than to insert
`seq`'s. It also doesn't obfuscate the code as much as the seq tricks
do.

-- Don
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to