Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module StringMap = struct
- type t = string
- let compare = String.compare
- end
- module Multiset = struct
- module M = Map.Make (StringMap)
- let get key m =
- try (M.find key m) with
- | Not_found -> 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement