English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Weak hash table for attaching extra data to an object
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-15 (07:59)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Weak hash table for attaching extra data to an object
On Tue, Aug 14, 2007 at 06:35:40PM -0500, Fernando Alegre wrote:
> On Tue, Aug 14, 2007 at 05:22:06PM +0100, Richard Jones wrote:
> 
> > if this is safe or not.
> > 
> >   Array.create 0 (Obj.magic ())
> > 
> 
> I wonder if this the same as just [||]

Yes it is.  I was looking so long at the details that I didn't
see the obvious answer.

Rich.

-- 
Richard Jones
Red Hat