[Haskell-cafe] Execution order in IO

Ryan Yates fryguybob at gmail.com
Wed Apr 15 13:11:38 UTC 2015


>
> > Is the do keyword more than just a syntactic sugar for a string of
> > binds and lambdas ?
>
> No, "do" is not more than syntactic sugar. The way to control execution
> order is "seq" and bang patterns.
>

I think better wording is to say *evaluation* order, not execution order.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150415/978be60b/attachment.html>


More information about the Haskell-Cafe mailing list