[m-dev.] proposed change to the coding style document

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Mar 21 16:18:40 AEDT 2005


On 21-Mar-2005, Julien Fischer <juliensf at cs.mu.OZ.AU> wrote:
> The library imports should be changed at some stage so that
> they are one per line; I'll volunteer to do this if nobody
> else wants to.

I have already done that for most modules while watching TV yesterday.

> > -Code should be indented consistently.
> > -Tabs should be every 8 spaces.
> > -Indentation should be one tab per level of indentation.
> > -except for highly intended code which may be
> > -indented at 4 spaces per level of indentation.
> > +Each module should be indented consistently,
> > +with either 4 or 8 spaces per level of indentation.
> > +The indentation should be consistently done,
> > +either only with tabs or only with spaces.
> >
> You may want to give an example of the vim modeline string
> we generally use here.

OK.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list