summaryrefslogtreecommitdiff
path: root/stdlib/hashtbl.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-02 13:42:19 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-02 13:42:19 +0000
commitfe2e11a8fb4dcf166ffb7f91e6eb8dd0f4402f25 (patch)
tree8dff8da7bfc88f25c78afe5340d78daa8c89587c /stdlib/hashtbl.ml
parent7e053c39de8693928b83038c1727f5d90228c39d (diff)
downloadocaml-strict_labels.tar.gz
remove doublonsstrict_labels
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/strict_labels@3687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/hashtbl.ml')
-rw-r--r--stdlib/hashtbl.ml5
1 files changed, 0 insertions, 5 deletions
diff --git a/stdlib/hashtbl.ml b/stdlib/hashtbl.ml
index de0bee09b1..d39fd28a23 100644
--- a/stdlib/hashtbl.ml
+++ b/stdlib/hashtbl.ml
@@ -70,8 +70,6 @@ let add h key info =
h.data.(i) <- bucket;
if bucket_too_long h.max_len bucket then resize hash h
-let add' h ~key ~data = add h key data
-
let remove h key =
let rec remove_bucket = function
Empty ->
@@ -159,7 +157,6 @@ module type S =
val create: int -> 'a t
val clear: 'a t -> unit
val add: 'a t -> key -> 'a -> unit
- val add': 'a t -> key:key -> data:'a -> unit
val remove: 'a t -> key -> unit
val find: 'a t -> key -> 'a
val find_all: 'a t -> key -> 'a list
@@ -182,8 +179,6 @@ module Make(H: HashedType): (S with type key = H.t) =
h.data.(i) <- bucket;
if bucket_too_long h.max_len bucket then resize H.hash h
- let add' h ~key ~data = add h key data
-
let remove h key =
let rec remove_bucket = function
Empty ->