spacepaste

test.mli

  1.  
  2. type u
  3. type 'a map
  4. val add : u -> 'a -> 'a map -> 'a map
  5.  

test.ml

  1.  
  2. type u = int
  3. module I = Map.Make(struct type t = u let compare = compare end)
  4. type 'a map = 'a I.t
  5. let add k v m =
  6. I.add k v m
  7.