[m-rev.] for review: add two mvar operations

Peter Wang novalazy at gmail.com
Thu Oct 20 13:22:29 AEDT 2011


On Thu, 20 Oct 2011 12:52:07 +1100 (EST), Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> 
> I suggest:
> 
> 
>       promise_pure (
>           sempahore.try_wait(Empty, Success, !IO),
>  	 (
>   		Succeess = yes,
>  		...
>  	 )
>       )
> 
> rather than the explicit promise_pure/1 pragams.  Likewise for the other
> one.

Ok.  I've changed it for the existing predicates as well.

Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list