[m-dev.] for review: RL bugs

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Jun 15 14:58:13 AEST 1999


> compiler/tree.m:
> 	Added `tree__tree_of_lists_is_empty', which is similar to
> 	`tree__is_empty' except that `node([])' is also considered empty.
> 	This is useful for trees of instructions.

Are there any cases where we actually want tree__is_empty to fail
when the only nodes in the tree contain nil? I can't think of any.
If I am right, we don't need a new predicate, just a fix to the old one.

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