[m-rev.] Improvements to pprint.m

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 26 20:59:07 AEST 2001


On 26-Apr-2001, Ralph Becket <rbeck at microsoft.com> wrote:
> Estimated hours taken: 2
> 
> Improve the pretty printer's output for various types.  This makes
> the debugger's pretty format much more useful.
> 
> library/pprint.m:
> 	Extended the pretty printer's to_doc/2 function to format
> 	lists, tuples and maps more readably.  Lists now appear
> 	as [a, b, c, ...], tuples as {a, b, c}, and maps as
> 	map(key1 -> value1, key2 -> value2, ...).  Ellipsis
> 	represents the remainder of a list of map where the depth
> 	limit has been reached.

That looks fine, for the main branch.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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