[m-rev.] For revew: a new, improved pretty printer

Zoltan Somogyi zs at csse.unimelb.edu.au
Thu Aug 2 11:21:45 AEST 2007


On 02-Aug-2007, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
> I was thinking of something like:
> 
>     % Comment about t.
>     %
> :- type t
> 
>         % Comment about f1.
>         %
>     --->    f1(...)
> 
>         % Comment about f2.
>         %
>     ;       f2(...).

I thought of that. The problem I see is that if the "comment about f1" is
long, it makes the connection between t and f1 harder to see.

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