File: ordered.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 (7 lines) | stat: -rw-r--r-- 150 bytes parent folder | download
1
2
3
4
5
6
7
let make (type t) (compare : t -> _) =
  (module struct
    type nonrec t = t

    let compare = compare
  end : Set.OrderedType
    with type t = t)