for review: additions to bag.m

Andrew Bromage bromage at cs.mu.OZ.AU
Thu Mar 5 15:47:25 AEDT 1998


G'day all.

Andrew Bromage wrote:

> +	% Remove a list of values from a bag.  Duplicates are removed
> +	% from the bag the appropriate number of times.  Fail if any of
> +	% the items in the bag does not exist in the bag.

I've just realised how awkward (and incorrect) that sounds.  Change that
last sentence to:

	Fail if any of the items in the list do not exist in the bag.

> +	% Remove a list of values from a bag.  Duplicates are removed
> +	% from the bag the appropriate number of times.  Abort if the
> +	% item does not exist in the bag.

	Abort if any of the items in the list do not exist in the bag.

Cheers,
Andrew Bromage



More information about the developers mailing list