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

Ian MacLarty maclarty at csse.unimelb.edu.au
Thu Aug 2 12:12:02 AEST 2007


On Thu, Aug 02, 2007 at 11:21:45AM +1000, Zoltan Somogyi wrote:
> 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.
> 

Fair enough.  It also seems that mtags doesn't like there to be a blank
line between the ":- type t" and "--->  f1" (if there is then no entry
for f1 is made in the tags file).

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