File: map_ext.ml

package info (click to toggle)
ocaml-multicore-bench 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ml: 1,476; sh: 60; makefile: 6
file content (3 lines) | stat: -rw-r--r-- 136 bytes parent folder | download
1
2
3
let make (type t) (compare : t -> _) =
  let (module Elt) = Ordered.make compare in
  (module Map.Make (Elt) : Map.S with type key = t)