> stored <- get store;
> input <- get counter;
> if (stored <> input)
>  then set var value
>  else <nop>
> sleep 100;

Vladimir wrote:

> Try 'return ()'
>
> (if ... then ... else return ()); ...

If I understand correctly, I can use return only at the end of a monad
chain, can't I?

- Gergely

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to