marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00973
[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 531: Added optional parameter identifier:('a -> int) for building hash tables in modules Table, Hashse...
------------------------------------------------------------
revno: 531
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: WORKING
timestamp: Wed 2020-06-17 17:56:23 +0000
message:
Added optional parameter identifier:('a -> int) for building hash tables in modules Table, Hashset and Hashmset when keys may be identified univocally. When the parameter is provided, the hash function will be (Hashtbl.hash o identifier) and (equality x y) defined by (identifier x)=(identifier y)
modified:
STRUCTURES/hashmset.ml
STRUCTURES/hashmset.mli
STRUCTURES/hashset.ml
STRUCTURES/hashset.mli
STRUCTURES/table.ml
STRUCTURES/table.mli
--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk
Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription