[m-rev.] State variable syntax transformation
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Feb 27 16:33:00 AEDT 2002
On 27-Feb-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Fergus Henderson, Wednesday, 27 February 2002:
> > On 27-Feb-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> > >
> > > Okay, I've added the "else true" arm to that example.
> >
> > That addresses my second point, but not my first.
>
> The example in question is
>
> iterate_while2(P, F, !A, !B) :-
> ( if P(!.A, !.B) then
> F(!A, !B),
> iterate_while2(P, F, !A, !B)
> else
> true
> ).
Oh, OK, that's fine.
I was talking about the example with `throw', but I guess that
only occurred in this thread, not in the documentation you're proposing
to add.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list