`let' for comprehension

Neil Mitchell ndmitchell at gmail.com
Fri Aug 25 09:44:35 EDT 2006


Hi,

> In GHC (and probably JHC) it shouldn't make any difference, in other compilers
> it might do.

In nhc98/Yhc it makes no performance difference. If you run Yhc with
the -core flag you can see the output for each of the functions, and
they're pretty close to identical.

Thanks

Neil


More information about the Glasgow-haskell-users mailing list