* [Caml-list] Hashset implementation
@ 2014-04-08 3:42 Johan Mazel
2014-04-08 4:01 ` Tianyi Cui
2014-04-08 6:23 ` Simon Cruanes
0 siblings, 2 replies; 3+ messages in thread
From: Johan Mazel @ 2014-04-08 3:42 UTC (permalink / raw)
To: OCaml Mailing List
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 475 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Hashset implementation
2014-04-08 3:42 [Caml-list] Hashset implementation Johan Mazel
@ 2014-04-08 4:01 ` Tianyi Cui
2014-04-08 6:23 ` Simon Cruanes
1 sibling, 0 replies; 3+ messages in thread
From: Tianyi Cui @ 2014-04-08 4:01 UTC (permalink / raw)
To: Johan Mazel; +Cc: OCaml Mailing List
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
If you're willing to consider an alternative standard library, you can try
Core (https://github.com/janestreet/core). It includes hash set (
https://ocaml.janestreet.com/ocaml-core/111.03.00/doc/core/#Hash_set) and
many more goodies.
On Tue, Apr 8, 2014 at 11:42 AM, 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
>
[-- Attachment #2: Type: text/html, Size: 1347 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Hashset implementation
2014-04-08 3:42 [Caml-list] Hashset implementation Johan Mazel
2014-04-08 4:01 ` Tianyi Cui
@ 2014-04-08 6:23 ` Simon Cruanes
1 sibling, 0 replies; 3+ messages in thread
From: Simon Cruanes @ 2014-04-08 6:23 UTC (permalink / raw)
To: Johan Mazel, OCaml Mailing List
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-08 6:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-08 3:42 [Caml-list] Hashset implementation Johan Mazel
2014-04-08 4:01 ` Tianyi Cui
2014-04-08 6:23 ` Simon Cruanes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox