[m-rev.] Performance, layout and code improvements to pprint.m

Mark Brown dougl at cs.mu.OZ.AU
Thu Nov 1 22:40:57 AEDT 2001


On 01-Nov-2001, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Mark Brown, Thursday,  1 November 2001:
> > On 29-Oct-2001, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> > > 
> > > library/pprint.m:
> > > 	- Tidied up the code somewhat, including the removal of several
> > > 	  now-useless functions.
> > > 	- Fixed a performance bug in be//3 where what looked tail recursion
> > 
> > s.be//3.be/3.
> 
> I've always adopted the convention that p//N means "p with N explicit
> arguments + 2 DCG arguments".  If that's not widely recognised I'll
> change it to `be/5'.

No, you're right.  That was a thinko on my part.

I'm happy for you to commit the change now.  As for the packed_cs
abbreviation, I can't think of a better solution, so I suppose it will
be okay to leave it as is.

Cheers,
Mark.

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