PolyMap.Make
module type OneTag = sig ... end
There is no equality function between _ tag
values (other than Stdlib.(=)
), and especially no equality function which shows that when the values are equal the type arguments are also equal.
Instead we can use 'a onetag
to recognize 'b tag
values.
val make : unit -> 'a onetag
module type MapS = sig ... end