[m-rev.] for review: XML documentation of DU types pass

Peter Ross pro at missioncriticalit.com
Wed Nov 1 09:09:59 AEDT 2006


On 10/31/06, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> On Tue, 31 Oct 2006, Peter Ross wrote:
> >       ( X = cond_a,
> >               ...
> >       ; X = cond_b,
> >               ...
> >       )
> >
> > I personally find distinguishing between switches and disjunctions
> > is extremely useful, so I prefer to leave it the way it is.
>
> The coding standard doesn't mention switches, but the way  I suggest
> is used throughtout the rest of the compiler; also it's easy to confuse
> your formatting with if-then-elses.
>
I'm pretty sure I learnt this way of formatting from the compiler, but
maybe not.
Anyway if people on the compiler prefer this way, then I will change to it.
--------------------------------------------------------------------------
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