caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Joel Reymont <joelr1@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] TypeRex: indenting let open Mod in
Date: Wed, 9 May 2012 00:01:48 +0200	[thread overview]
Message-ID: <00381D0188D04BDEAA53E614EC1E82F0@erratique.ch> (raw)
In-Reply-To: <CAOQwdX3yGnGBpQiHCta0f-BgDVuTMpEbkBbr7KJEwthRUJaWcQ@mail.gmail.com>



Le mardi, 8 mai 2012 à 23:25, Joel Reymont a écrit :

> Is there a way to get this layout with TypeRex?


I don't think so, I have the same problem; and that's just one example of a wrong identation pattern with typerex. It is unfortunately based on the completely broken tuareg-mode (which for reasons that are unknown to me seems to be preferred by many ocaml programmers to the better mode provided by the distribution). A reimplementation of the indentation engine is however planned :  

https://github.com/OCamlPro/typerex/issues/10#issuecomment-4132259

Best,

Daniel




      reply	other threads:[~2012-05-08 22:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 21:25 Joel Reymont
2012-05-08 22:01 ` Daniel Bünzli [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=00381D0188D04BDEAA53E614EC1E82F0@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /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).