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 LAA24979; Mon, 8 Sep 2003 11:26:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 LAA31012 for ; Mon, 8 Sep 2003 11:26:00 +0200 (MET DST) Received: from mwinf0501.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.26]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h889Q0f11698 for ; Mon, 8 Sep 2003 11:26:00 +0200 (MET DST) Received: from zofo (Mix-Grenoble-110-3-16.w80-9.abo.wanadoo.fr [80.9.193.16]) by mwinf0501.wanadoo.fr (SMTP Server) with SMTP id 5FE9C40034A for ; Mon, 8 Sep 2003 11:25:59 +0200 (CEST) Message-ID: <002501c375eb$284b6560$10c10950@zofo> From: "Jean-Baptiste Rouquier" To: References: <20030907164121.GA15853@ecooper.com> <20030908085155I.garrigue@kurims.kyoto-u.ac.jp> Subject: Re: [Caml-list] referencing the signature inferred from a .mli file? Date: Mon, 8 Sep 2003 11:25:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ens-lyon:01 caml-list:01 inferred:01 mli:01 mli:01 sig:01 referencing:03 constraint:05 define:05 write:14 but:16 file:18 file:18 could:20 name:78 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >I had a simple proposal: a .mli file would not only be used as a >constraint for the corresponding .ml file, but would also define >a signature of the same name. >Then you could simply write > sig include List ... end Yes, that would be great. Jean-Baptiste. ------------------- 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