[m-rev.] for review: export rational.inverse/1 from rational module

Julien Fischer juliensf at students.cs.mu.OZ.AU
Mon Jan 12 15:40:21 AEDT 2004


On Mon, 12 Jan 2004, Ralph Becket wrote:

> Julien Fischer, Monday, 12 January 2004:
> >
> > Estimated hours taken: 0.5
> > Branches: main
> >
> > Export the inverse function from the rational module.  This is a little
> > cleaner than having to take the reciprocal of a number by dividing one by
> > it.
> >
> > NEWS:
> > 	Mention this change.
> >
> > library/rational.m:
> > 	Export rational.inverse/1 from this module.
>
> Can I suggest a name change to rational.reciprocal?  `inverse' here
> applies to the multiplicative inverse, but it could conceivably be the
> additive inverse or pretty much anything else.
>
I'd be quite happy with rational.reciprocal.  Are there any objections?

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