[m-dev.] For review: two new functions in int.m

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Jan 27 13:14:23 AEDT 2004


On 27-Jan-2004, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> library/int.m:
> 	Added functions fold_up/4 and fold_down/4 for iterating over
> 	contiguous integer ranges.
> 
> NEWS:
> 	Mention the new changes.

There should be a test case to test the new functions.

(Make sure the test case tests non-associative / non-commutative functions.)

Otherwise that looks fine.

-- 
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-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