caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Tuareg-mode and pipes |
Date: Wed, 23 May 2012 11:53:07 -0400	[thread overview]
Message-ID: <20120523155307.GA16965@localhost> (raw)
In-Reply-To: <4FBCFF05.5030500@lsv.ens-cachan.fr>

On Wed, May 23, 2012 at 05:15:17PM +0200, Romain Bardou wrote:
> Tuareg indents pattern-matching like this:
> 
> match x with
>   | Bla ->
>     hello
> 
> But the previous behavior of Tuareg, which I prefer, was:
> 
> match x with
>   | Bla ->
>       hello
> 
> [...] 
> A related question is the following. I read here a few weeks ago a
> claim that the caml-mode was much better than the tuareg-mode. I was
> not able to find a comparison between these two modes, to support
> this claim, nor whether the caml-mode would fix the pipe behavior
> for me. Any comment here would be appreciated.

I switched to caml-mode from tuareg for exactly this reason.  I can
confirm that with its default settings, it indents in the second
style.

-- 
Eric Cooper             e c c @ c m u . e d u

  reply	other threads:[~2012-05-23 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 15:15 Romain Bardou
2012-05-23 15:53 ` Eric Cooper [this message]
2012-05-23 15:55   ` Romain Bardou
2012-05-23 16:15     ` Eric Cooper
2012-05-23 17:16 ` [Caml-list] " Hongbo Zhang
2012-05-23 18:03   ` Thibault Suzanne
     [not found] ` <20120523.225137.2235002212124282451.Christophe.Troestler@umons.ac.be>
2012-05-23 21:27   ` [Caml-list] " Mehdi Dogguy
     [not found]     ` <20120524.104708.916458905184337628.Christophe.Troestler@umons.ac.be>
     [not found]       ` <20120524.220613.1066733202670535323.Christophe.Troestler@umons.ac.be>
2012-05-25  6:13         ` [Caml-list] Re: [Announce] New release of tuareg mode David House
2012-05-24  8:10   ` [Caml-list] Tuareg-mode and pipes | Romain Bardou

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=20120523155307.GA16965@localhost \
    --to=ecc@cmu.edu \
    --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).