[m-rev.] For revew: a new, improved pretty printer
Mark Brown
mark at csse.unimelb.edu.au
Thu Aug 2 12:04:18 AEST 2007
On 02-Aug-2007, Zoltan Somogyi <zs at csse.unimelb.edu.au> 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.
Exactly. That's what I meant about the start of "comment about f1" being
near the start of f1 -- comments of this nature are often many lines longer
than the thing being commented on, so putting the comment second will
generally minimise this distance.
I vote for updating the standard.
Cheers,
Mark.
--------------------------------------------------------------------------
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