Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jun Furuse <jun.furuse@gmail.com>
To: haihao shen <haihaoshen@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Format OCaml Code
Date: Sat, 24 Dec 2011 16:35:39 +0800	[thread overview]
Message-ID: <CAAoLEWtbUTRLMy4yrNq5r5iUPf3gQQJQ1H8Jvj6A3OLz_PBGVg@mail.gmail.com> (raw)
In-Reply-To: <CAL2=XadH_LBiXOtH3R1uVzyL_Kvy7-VMKn42pmntu__xFNt-fQ@mail.gmail.com>

Hi,
ocaml-indent may help you, at least around indentations:
 https://bitbucket.org/camlspotter/ocaml-indent/wiki/Home
Jun
On Fri, Dec 23, 2011 at 3:57 PM, haihao shen <haihaoshen@gmail.com> wrote:
> Hi All,
>
> Does anyone know whether there is some tools or scripts to format ocaml code
> in a unified format?
>
> Thanks in advance,
> Haihao


  parent reply	other threads:[~2011-12-24  8:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23  7:57 haihao shen
2011-12-23  8:04 ` Mihamina Rakotomandimby
2011-12-23  8:51   ` Gabriel Scherer
2011-12-23 12:27     ` rixed
2011-12-23 12:49       ` Jérémie Dimino
2011-12-23 17:01     ` Jérémie Dimino
2011-12-24  3:48   ` Francois¡¡Charles Matthieu¡¡Berenger
2011-12-24  8:35 ` Jun Furuse [this message]
2011-12-24  9:03   ` haihao shen

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=CAAoLEWtbUTRLMy4yrNq5r5iUPf3gQQJQ1H8Jvj6A3OLz_PBGVg@mail.gmail.com \
    --to=jun.furuse@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=haihaoshen@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