package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.19.0.tbz
sha256=d2f617dfd34f7d882f4181a22e359bb90b46669ed87b2650eb842f0532fc696c
sha512=9bd4c5825076c88192425f1462fedab1100d5b83a75dfe65592255b127690503b01b61c964990272abe54f0a01a14587ca464e438fa8b9d8560d2576773f39a8

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.