caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: caml-list@inria.fr
Subject: [Caml-list] Re: tuareg clause indentation in pattern matching
Date: Thu, 18 Apr 2013 08:33:53 -0400	[thread overview]
Message-ID: <jwvwqs0aujx.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org> (raw)
In-Reply-To: <516FB537.6000606@inria.fr>

> Indeed that does the trick but this causes all sort of other annoying
> indentation rules, such as:

> foooooo bar
>         bla

> instead of:

> foooooo bar
>   bla

Indeed, SMIE likes to align arguments.  As the author, I of course agree
with this decision and think it only makes a lot of sense.  If you want
less indentation then you have to use

   foooooo
     bar
     bla


-- Stefan


      reply	other threads:[~2013-04-18 12:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-13 13:06 [Caml-list] " José Romildo Malaquias
2013-04-13 13:55 ` Daniel Bünzli
2013-04-15 20:52 ` [Caml-list] " Stefan Monnier
2013-04-18  8:56   ` Romain Bardou
2013-04-18 12:33     ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvwqs0aujx.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).