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 QAA08578; Tue, 17 Jun 2003 16:07:47 +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 QAA08483 for ; Tue, 17 Jun 2003 16:07:45 +0200 (MET DST) Received: from exchfe1.cs.cornell.edu (exchfe1.cs.cornell.edu [128.84.97.27]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h5HE7iH10212 for ; Tue, 17 Jun 2003 16:07:44 +0200 (MET DST) Received: from EXCHVS2.cs.cornell.edu ([128.84.97.24]) by exchfe1.cs.cornell.edu with Microsoft SMTPSVC(5.0.2195.5329); Tue, 17 Jun 2003 10:07:10 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Subject: RE: [Caml-list] Type safe affectation ? Date: Tue, 17 Jun 2003 10:07:09 -0400 Message-ID: Thread-Topic: [Caml-list] Type safe affectation ? Thread-Index: AcM00e2hq5KQaiuSQ1aph9A0lAL0rwAB6XPA From: "Gregory Morrisett" To: "Christophe Raffalli" Cc: "Jacques Garrigue" , , X-OriginalArrivalTime: 17 Jun 2003 14:07:10.0384 (UTC) FILETIME=[BE6C9300:01C334D9] X-Spam: no; 0.00; morrisett:01 cornell:01 caml-list:01 ugliness:01 -greg:01 compiler:01 external:03 jgm:03 structure:06 i'd:06 loop:06 type:07 solve:07 approach:08 perhaps:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > Perhaps, but it's easy for a compiler to offer support > > for "tail-allocation" =20 > Does this also solve the construction of structure with loop ? (the=20 > other case were affectation is needed ?=20 No, not really. The TAL approach would handle this. =20 But then so would using an option ref. I'd hate to see the external language changed with that kind of ugliness. -Greg ------------------- 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