[Haskell-cafe] is the evaluation order deterministic when using applicative with IO

Ertugrul Söylemez es at ertes.de
Fri Mar 16 13:54:29 CET 2012


Rouan van Dalen <rvdalen at yahoo.co.uk> wrote:

> I was wondering if I can make assumptions about the evaluation order
> of the following code:

Nitpick:  This is execution order, not evaluation order.  The evaluation
order is indeed undefined here.


Greets,
Ertugrul

-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://ertes.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120316/ec940157/attachment.pgp>


More information about the Haskell-Cafe mailing list