How can i force the type of values in a map ?

Suppose i want to create a map from string to int.

module MyMapModule = Map.Make
        (struct
                type t = string (*keys of the map are identifiers*)
                let compare = Pervasives.compare
        end)
;;

the signature of MyMapModule.empty is a  generic

'a MyMapModule.t = <abstr>

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html

Reply via email to