module With_collections:
Add sets, maps and hashtables modules to an existing datatype, provided the
equal
, compare
and hash
functions are not Datatype.undefined
.
Parameters: |
|
include Datatype.S
module Set:Datatype.Set
with type elt = t
module Map:Datatype.Map
with type key = t
module Hashtbl:Datatype.Hashtbl
with type key = t