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 D8EE1BC6B for ; Tue, 22 Jan 2008 20:45:09 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAMbWlUdQRFuw/2dsb2JhbACtCg X-IronPort-AV: E=Sophos;i="4.25,235,1199660400"; d="scan'208";a="21618657" Received: from furbychan.cocan.org ([80.68.91.176]) by mail4-smtp-sop.national.inria.fr with ESMTP; 22 Jan 2008 20:45:03 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1JHP3L-0008VO-TK; Tue, 22 Jan 2008 19:44:59 +0000 Date: Tue, 22 Jan 2008 19:44:59 +0000 To: ketti Cc: ivan chollet , caml-list@yquem.inria.fr Subject: Re: [Caml-list] requests for improvement Message-ID: <20080122194459.GA26691@annexia.org> References: <20080120171034.976917000084@mwinf8313.laposte.net> <6ebe51ce0801200943r6fc405bek2b2588087da1a667@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ebe51ce0801200943r6fc405bek2b2588087da1a667@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; 0100,:01 one-to-one:01 ocaml:01 20,:98 wrote:01 caml-list:01 constraint:01 modules:02 modules:02 red:92 definition:07 split:08 split:08 300:90 possibility:10 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. Rich. -- Richard Jones Red Hat