package pp-binary-ints

  1. Overview
  2. Docs

Source file makePP.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(** This module provides functions create your own binary-int-printers. *)

module type S = sig
  type t

  val zero : t
  val one : t
  val logand : t -> t -> t
  val equal : t -> t -> bool
  val shift_right_logical : t -> int -> t
end

module type D = sig
  val prefix : string
  val suffix : string
end

module Make (I : S) (Dec : D) = struct
  type t = I.t
  include (Internal.Make (I) (Dec))
end
OCaml

Innovation. Community. Security.