[m-rev.] Fixes for test output

Ralph Becket rafe at csse.unimelb.edu.au
Tue Aug 21 17:04:29 AEST 2007


Ian MacLarty, Tuesday, 21 August 2007:
> On Tue, Aug 21, 2007 at 03:03:02PM +1000, Ralph Becket wrote:
> > Estimated hours taken: 4 (mostly testing)
> > Branches: main
> > 
> > library/list.m:
> > 	Improve the pretty-printer formatting of lists by preventing
> > 	the output of ellipsis when all items in the list have been
> > 	printed.
> > 
> > library/pretty_printer.m:
> > 	Some term names output by the debugger are module qualified.
> > 	Prevent the default term formatting code from quoting names
> > 	that contain '.'s unless they also contain other characters
> > 	requiring quoting.
> > 
> 
> I think a better fix would be to modify synthetic_term_to_doc in
> browser/browse.m to look for dots in the predicate or function name and
> generated the appropriate doc.  Then change the pretty printer to not
> put spaces around '.' infix operators.

Okay, I'll do that.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list