From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 3CA59BC6B for ; Wed, 23 Jan 2008 18:07:11 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAAMDl0dA6aq7n2dsb2JhbACQHgEBAQEBBgQGCQgYnW0 X-IronPort-AV: E=Sophos;i="4.25,239,1199660400"; d="scan'208";a="21685380" Received: from rn-out-0910.google.com (HELO rn-out-0102.google.com) ([64.233.170.187]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 Jan 2008 18:07:10 +0100 Received: by rn-out-0102.google.com with SMTP id s46so71440rnb.18 for ; Wed, 23 Jan 2008 09:07:09 -0800 (PST) Received: by 10.142.232.20 with SMTP id e20mr5079018wfh.59.1201108028515; Wed, 23 Jan 2008 09:07:08 -0800 (PST) Received: by 10.142.173.18 with HTTP; Wed, 23 Jan 2008 09:07:08 -0800 (PST) Message-ID: <3a360f590801230907o7516b221wa52b616015c5028c@mail.gmail.com> Date: Wed, 23 Jan 2008 12:07:08 -0500 From: "Hezekiah M. Carty" Sender: hcarty@mulethief.com To: "Richard Jones" Subject: Re: [Caml-list] requests for improvement Cc: caml-list@yquem.inria.fr In-Reply-To: <20080122194459.GA26691@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080120171034.976917000084@mwinf8313.laposte.net> <6ebe51ce0801200943r6fc405bek2b2588087da1a667@mail.gmail.com> <20080122194459.GA26691@annexia.org> X-Google-Sender-Auth: 144f6eab2c5b494d X-Spam: no; 0.00; 0100,:01 one-to-one:01 ocaml:01 ocaml:01 emacs:01 tuareg:01 emacs:01 20,:98 wrote:01 wrote:01 caml-list:01 constraint:01 modules:02 modules:02 vim:05 On Jan 22, 2008 2:44 PM, Richard Jones wrote: > On Sun, Jan 20, 2008 at 06:43:36PM +0100, ketti wrote: > > 2008/1/20 ivan chollet : > > > - Any plans about giving the possibility to spread the definition > > > across more than one source file. Sometimes modules are more than 300 lines, > > > so I would like to be able to split it over two or more files. Currently > > > there is a one-to-one relationship between files and modules. As far as I > > > know, OCaml is the only language to have such a particular constraint. > > > > I think this is a non issue. > > Just split it in several modules and use 'include' to bring it all > > together. Is that any different from what you want? > > Or keep the source in a single file and use a folding editor. > Any suggestions for a folding editor for OCaml? I've been using emacs + tuareg + some sort of outline mode for emacs. vim can at least do indentation-based folding, but its auto-indent tends to act quite badly for me and vim + omlet gets very slow for .ml files longer than a few hundred lines. -- Hezekiah M. Carty Graduate Research Assistant University of Maryland Department of Atmospheric and Oceanic Science