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
[Caml-list] Hashtbl or Map?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-10 (16:08)
From: oliver@f...
Subject: [Caml-list] Hashtbl or Map?

where is the difference between the modules
Hashtbl and Map?

Do I understand it correctly, that both are used for the
same purpose, but Mao is side-effect free, wheras Hashtbl
uses in-place-modufication and is not a functional approach
(and therefore may cause problems sometimes)?

And the interface seems to be different.
(I have not explored functors in detail, so can you
please show me the major differences in this approach?!)

Are there other differences?


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