From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pBO8ZjOp001020 for ; Sat, 24 Dec 2011 09:35:46 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvkAAH+N9U5KfVM2kGdsb2JhbABDrDIIIgEBAQEJCQ0HFAQhgXIBAQEEEgIsARsdAQMMBgULDS4hAQERAQUBHAYTCBqHYJp5CotlgmuESj+IcQIBBAuMBASINYxNim+DDj2EBw X-IronPort-AV: E=Sophos;i="4.71,403,1320620400"; d="scan'208";a="124534003" Received: from mail-ee0-f54.google.com ([74.125.83.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 24 Dec 2011 09:35:40 +0100 Received: by eekc50 with SMTP id c50so12760887eek.27 for ; Sat, 24 Dec 2011 00:35:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7eCl2jcJFpr3e8On3XozMTSx+cvu0vbFiXmxzoVubZw=; b=LGMYIxe/AS0CwWLysy/U0XAnGMO+9It77vANx+2OzQFO2t0qrvNhSp1V2Yt/wPzYPw D6po6aYuvcQkTNMycITssp3WsBb6waw2gPN6B7i+zyLslmrDF+mLWr+kzY00oYzMlkSg M4rW8hrHv9fuMPiXpFahxsAzRSatdx+o3NV0M= MIME-Version: 1.0 Received: by 10.213.19.133 with SMTP id a5mr6726206ebb.84.1324715739503; Sat, 24 Dec 2011 00:35:39 -0800 (PST) Received: by 10.14.130.141 with HTTP; Sat, 24 Dec 2011 00:35:39 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 16:35:39 +0800 Message-ID: From: Jun Furuse To: haihao shen Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id pBO8ZjOp001020 Subject: Re: [Caml-list] Format OCaml Code 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 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