package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dune-3.20.0.tbz
sha256=767999da81e528484139ecfe927288ffe521ac2467462a40d6a760ed789ba086
sha512=18f6a293cb5d4423a3bf69ce9559b40e7075e49b13c79166f2aacfa55cbc2609e20938bad889b43df0d5a3396ea034e405631d3757da6164c51be375e5751632

doc/src/dune-private-libs.dune_re/pmark.ml.html

Source file pmark.ml

1
2
3
4
5
6
7
8
9
10
11
12
13

module Pmark = struct
  type t = int
  let equal (x : int) (y : int) = x = y
  let compare (x : int) (y : int) = compare x y
  let r = ref 0
  let gen () = incr r ; !r

  let pp = Format.pp_print_int
end

include Pmark
module Set = Set.Make(Pmark)
OCaml

Innovation. Community. Security.