From: Romain Bardou <bardou@lsv.ens-cachan.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Tuareg-mode and pipes |
Date: Wed, 23 May 2012 17:55:15 +0200 [thread overview]
Message-ID: <4FBD0863.6020005@lsv.ens-cachan.fr> (raw)
In-Reply-To: <20120523155307.GA16965@localhost>
Le 23/05/2012 17:53, Eric Cooper a écrit :
> 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.
>
Thanks for your input. Do you miss anything from tuareg-mode or is your
life just better now?
Cheers,
--
Romain Bardou
next prev parent reply other threads:[~2012-05-23 15:55 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
2012-05-23 15:55 ` Romain Bardou [this message]
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=4FBD0863.6020005@lsv.ens-cachan.fr \
--to=bardou@lsv.ens-cachan.fr \
--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