From: Remi VANICAT <vanicat@labri.u-bordeaux.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Weak hash table
Date: 06 Mar 2002 14:40:50 +0100 [thread overview]
Message-ID: <87r8mx3jbx.dlv@wanadoo.fr> (raw)
In-Reply-To: <200203061250.NAA0000006787@beaune.inria.fr>
Damien Doligez <damien.doligez@inria.fr> writes:
> >From: Christophe Raffalli <raffalli@univ-savoie.fr>
> >did anyone implemented weak hash table using weak pointers in OCaml ?
>
> My implementation is in the stdlib Weak of the CVS version of OCaml.
> It will be part of the next release, so I'm interested in bug reports
> and feature requests.
I've look at it, and it seem it's an implementation of a set, not of a
map. So if one want a map, he have to use a weak hashtable of
couple. But if he want the couple to be alive when ever say its first
element is alive, one have to make the couple accessible from the
first element. So to say the least, it's difficult to use it like
this.
By the way, I'm not sure to think of a good solution for this.
--
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
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
next prev parent reply other threads:[~2002-03-06 13:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-06 12:50 Damien Doligez
2002-03-06 13:40 ` Remi VANICAT [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-22 18:35 [Caml-list] Weak Hash table Remi VANICAT
2002-03-22 14:15 [Caml-list] Weak hash table Damien Doligez
2002-03-14 14:16 Damien Doligez
2002-03-14 14:09 Damien Doligez
2002-03-15 1:49 ` Brian Rogoff
2002-02-15 1:48 [Caml-list] Another q about many types Ryan Tarpine
2002-04-15 8:06 ` Christian Gillot
2002-03-05 16:28 ` [Caml-list] Weak hash table Christophe Raffalli
2002-03-05 21:40 ` Charles Martin
2002-03-05 22:24 ` Dave Mason
2002-03-06 10:09 ` Christophe Raffalli
2002-03-06 10:39 ` Christophe Raffalli
2002-03-06 8:33 ` Jean-Christophe Filliatre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r8mx3jbx.dlv@wanadoo.fr \
--to=vanicat@labri.u-bordeaux.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox