package mehari

  1. Overview
  2. Docs

Source file types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module type ADDR = sig
  type t

  val compare : t -> t -> int
  val pp : Stdlib.Format.formatter -> t -> unit
end

module type IO = sig
  type 'a t

  val return : 'a -> 'a t
  val bind : 'a t -> ('a -> 'b t) -> 'b t
  val map : ('a -> 'b) -> 'a t -> 'b t
end

module type T = sig
  type t
end

module type PCLOCK = sig
  type t

  val now_d_ps : t -> int * int64
end
OCaml

Innovation. Community. Security.