package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file pid.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 1 "submodules/dune/otherlibs/stdune/pid.ml"
type t = int

let to_dyn (t : t) : Dyn.t = Variant ("pid", [ Int t ])

let hash = Int.hash

let equal = Int.equal

let to_int t = t

let of_int t =
  assert (t >= 0);
  t
OCaml

Innovation. Community. Security.