From: Simon Cruanes <simon.cruanes.2007@m4x.org>
To: Johan Mazel <johan.mazel@gmail.com>,OCaml Mailing List
<caml-list@inria.fr>
Subject: Re: [Caml-list] Hashset implementation
Date: Tue, 08 Apr 2014 08:23:04 +0200 [thread overview]
Message-ID: <fd57a43b-ec0c-4430-82e2-7d9634801df5@email.android.com> (raw)
In-Reply-To: <CAKS5mhSDgFh4uizi+Fnb24V4YBqkZZix73cA1Lt9jAxj8PFrRw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
Hi, the standard Hashtbl can be used as a basic hashset (using unit as values and the set elements as keys) for simple uses. It won't provide intersection or union, though.
On 8 avril 2014 05:42:25 UTC+02:00, Johan Mazel <johan.mazel@gmail.com> wrote:
>Hi
>I want to use hashset in OCaml.
>I found these two implemtetations:
>*https://www.lri.fr/~filliatr/ftp/ocaml/ds/hashset.ml.html
>*http://caml.inria.fr/cgi-bin/hump.en.cgi?contrib=504
>Is there anything else available somewhere ?
>Regards
>Johan
>
>--
>Caml-list mailing list. Subscription management and archives:
>https://sympa.inria.fr/sympa/arc/caml-list
>Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>Bug reports: http://caml.inria.fr/bin/caml-bugs
--
Simon
[-- Attachment #2: Type: text/html, Size: 974 bytes --]
prev parent reply other threads:[~2014-04-08 6:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 3:42 Johan Mazel
2014-04-08 4:01 ` Tianyi Cui
2014-04-08 6:23 ` Simon Cruanes [this message]
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=fd57a43b-ec0c-4430-82e2-7d9634801df5@email.android.com \
--to=simon.cruanes.2007@m4x.org \
--cc=caml-list@inria.fr \
--cc=johan.mazel@gmail.com \
/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