From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id B92CC7ED26 for ; Wed, 23 May 2012 17:53:20 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao4BALUHvU+AAtnGkWdsb2JhbABDtDYiAQEBARQLBxQFIoIVAQEBBCcTTwsYHBIUKIhCsW6JCIsPgiKCPGIDlRuSdw X-IronPort-AV: E=Sophos;i="4.75,645,1330902000"; d="scan'208";a="144861707" Received: from smtp03.srv.cs.cmu.edu ([128.2.217.198]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 May 2012 17:53:10 +0200 Received: from stratocaster.home (pool-98-111-250-25.pitbpa.fios.verizon.net [98.111.250.25]) (authenticated bits=0) by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id q4NFr7Jj020803 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 23 May 2012 11:53:08 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.77) (envelope-from ) id 1SXDs3-0005gW-9J for caml-list@inria.fr; Wed, 23 May 2012 11:53:07 -0400 Date: Wed, 23 May 2012 11:53:07 -0400 From: Eric Cooper To: caml-list@inria.fr Message-ID: <20120523155307.GA16965@localhost> Mail-Followup-To: caml-list@inria.fr References: <4FBCFF05.5030500@lsv.ens-cachan.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FBCFF05.5030500@lsv.ens-cachan.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: mimedefang-cmuscs on 128.2.217.198 Subject: Re: [Caml-list] Tuareg-mode and pipes | 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