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 OAA21453; Mon, 28 May 2001 14:53:15 +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 OAA21375 for ; Mon, 28 May 2001 14:53:15 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f4SCrEj08415; Mon, 28 May 2001 14:53:14 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA19943; Mon, 28 May 2001 14:53:13 +0200 (MET DST) Date: Mon, 28 May 2001 14:53:13 +0200 From: Xavier Leroy To: Daniel de Rauglaudre Cc: caml-list@inria.fr Subject: Re: [Caml-list] Lazy.Value Message-ID: <20010528145313.F19801@pauillac.inria.fr> References: <20010528144620.G13297@verdot.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010528144620.G13297@verdot.inria.fr>; from daniel.de_rauglaudre@inria.fr on Mon, May 28, 2001 at 02:46:20PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I may say nonsense, but is it possible to generalize things like: > ref (Lazy.Value []) No, this would be unsound -- like all polymorphic references. let r = ref (Lazy.Value []) in r := Lazy.Value [1]; match !r with [f] -> f 0 (*crash*) - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr