Fix tools/unlabel to deal with Hashtbl injectivity
parent
e5e7b9591a
commit
902ca08055
|
@ -36,7 +36,7 @@ module Hashtbl : sig
|
|||
(** {1 Generic interface} *)
|
||||
|
||||
|
||||
type (!'a, !'b) t
|
||||
type (!'a, !'b) t = ('a, 'b) Hashtbl.t
|
||||
(** The type of hash tables from type ['a] to type ['b]. *)
|
||||
|
||||
val create : ?random: (* thwart tools/unlabel *) bool -> int -> ('a, 'b) t
|
||||
|
|
|
@ -70,7 +70,7 @@ rm -f stdlib/moreLabels.temp.mli stdlib/moreLabels.temp2.mli
|
|||
#Fix up
|
||||
perl -p -e "s/type statistics =/type statistics = Hashtbl\.statistics =/" \
|
||||
stdlib/moreLabels.mli > stdlib/moreLabels.temp.mli
|
||||
perl -p -e "s/type \('a, 'b\) t/type \('a, 'b\) t = \('a, 'b) Hashtbl.t/" \
|
||||
perl -p -e "s/type \(!'a, !'b\) t/type \(!'a, !'b\) t = \('a, 'b) Hashtbl.t/" \
|
||||
stdlib/moreLabels.temp.mli > stdlib/moreLabels.temp2.mli
|
||||
perl -p -e\
|
||||
"s/module Make \(H : HashedType\) : S with type key = H.t\
|
||||
|
|
Loading…
Reference in New Issue