From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA11691; Fri, 6 Jun 2003 20:39:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA11506 for ; Fri, 6 Jun 2003 20:39:14 +0200 (MET DST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id h56IdDT28132 for ; Fri, 6 Jun 2003 20:39:13 +0200 (MET DST) Received: (qmail 3114 invoked from network); 6 Jun 2003 18:39:11 -0000 Received: from arda.pair.com (HELO checkerdell.d6.com) (209.68.1.133) by relay.pair.com with SMTP; 6 Jun 2003 18:39:11 -0000 X-pair-Authenticated: 209.68.1.133 Message-Id: <4.3.2.7.2.20030606112653.039b1838@localhost> X-Sender: checker@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Fri, 06 Jun 2003 11:30:04 -0700 To: Brian Hurt , Stefan Heimann From: Chris Hecker Subject: Re: [Caml-list] Automatic generation of mli files Cc: In-Reply-To: References: <20030606095723.GA8096@kunz.ratzer> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam: no; 0.00; hecker:01 checker:01 caml-list:01 mli:01 pasting:01 compiler:01 chris:01 ocaml:01 writting:01 external:03 interface:03 types:03 whatnot:05 basically:06 problem:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >Not sure what advantage this would gain. Step #1 is about as difficult as >simply writting the .mli file directly. Yeah, but not if things are changing a lot and you have big types and whatnot. Cutting and pasting or doing the ocaml -i thing is a bit of a pain. I could see it being a useful tool. Basically anything that eliminates repetition is a positive. >I don't have a problem with .mli files being seperate from .ml files for >two reasons: >1) .mli is your external interface- >2) The compiler checks the signature of the .mli file Don't forget "3) having a separate interface allows you to decouple implementations which is important for large scale software". Oh wait. :/ Chris ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners