From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 79F99BC48 for ; Sat, 9 Apr 2005 23:27:28 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j39LRR21000487 for ; Sat, 9 Apr 2005 23:27:28 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA15584 for ; Sat, 9 Apr 2005 23:27:27 +0200 (MET DST) Received: from mail.cs.unm.edu (mail.cs.unm.edu [64.106.20.33]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j39LRQoN000484 for ; Sat, 9 Apr 2005 23:27:27 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.cs.unm.edu (Postfix) with ESMTP id 117C4E4161; Sat, 9 Apr 2005 15:17:48 -0600 (MDT) Received: from mail.cs.unm.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30241-09; Sat, 9 Apr 2005 15:17:47 -0600 (MDT) Received: from [192.168.0.2] (pcp09983606pcs.svaley01.nm.comcast.net [68.35.58.177]) by mail.cs.unm.edu (Postfix) with ESMTP id 41713E415F; Sat, 9 Apr 2005 15:17:46 -0600 (MDT) In-Reply-To: <42581633.5050702@rftp.com> References: <20050408174142.GA1804@galois> <20050409103532.GA20625@furbychan.cocan.org> <42581633.5050702@rftp.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: caml-list From: "William D.Neumann" Subject: Re: [Caml-list] Syntactic inclusion of a.ml in b.ml ? Date: Sat, 9 Apr 2005 15:27:19 -0600 To: Robert Roessler X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.unm.edu X-Miltered: at concorde with ID 425848BF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 425848BE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 bindings:01 ocaml:01 sig:01 struct:01 pairs:01 ...:98 ...:98 wrote:01 syntactic:01 signatures:01 modules:01 neumann:02 neumann:02 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Apr 9, 2005, at 11:51 AM, Robert Roessler wrote: > When I look at OCaml source code, however, I see a *lot* of really > different free-form coding styles. The only language element that > jumps out at me for folding is a simplistic handling of "let" > bindings... which might not be useful for anything more than to say > "Now with folding!" :) The folding portion of the OCaml TextMate[1] module I put together also allows folding for modules and their signatures (between sig/struct and end) and classes (between object and end), and possibly some other places that I've forgotten (perhaps begin/end pairs?). [1] William D. Neumann "You've got Rita Marlowe in the palm of your hand." "Palm of my hand? You haven't seen Rita Marlowe..." -- Will Success Spoil Rock Hunter?