[m-dev.] Delayed goals and if-then-else goals
Zoltan Somogyi
zs at cs.mu.OZ.AU
Thu Jan 8 14:23:47 AEDT 2004
On 07-Jan-2004, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> The right thing for an implementation to do at this point
> is to _flounder_; that is, to report a run-time error or exception.
> Well, it is possible that there might be better alternatives,
> but this is at least the best current practice.
Floundering when the condition of an if-then-else contains as-yet unproven
constraints on local variables preserves correctness, but my intuition is
that it isn't all that useful, because it leads to runtime aborts in too many
programs. I think "a better alternative" is required for delays to work
in practice. I have the outlines of a possible solution in mind, but it
has pretty high cost, both in development time and run time.
Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list