package core

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

Source file int32.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
25
26
27
28
29
30
31
32
open! Import

module Binable = struct
  type t = int32 [@@deriving bin_io ~localize]
end

include Binable
include Identifiable.Extend (Base.Int32) (Binable)
include Base.Int32
include Comparable.Validate_with_zero (Base.Int32)

type t = int32 [@@deriving typerep]

module Binary = struct
  include Binary

  type nonrec t = t [@@deriving typerep, bin_io ~localize]
end

module Hex = struct
  include Hex

  type nonrec t = t [@@deriving typerep, bin_io ~localize]
end

let quickcheck_generator = Base_quickcheck.Generator.int32
let quickcheck_observer = Base_quickcheck.Observer.int32
let quickcheck_shrinker = Base_quickcheck.Shrinker.int32
let gen_incl = Base_quickcheck.Generator.int32_inclusive
let gen_uniform_incl = Base_quickcheck.Generator.int32_uniform_inclusive
let gen_log_incl = Base_quickcheck.Generator.int32_log_inclusive
let gen_log_uniform_incl = Base_quickcheck.Generator.int32_log_uniform_inclusive
OCaml

Innovation. Community. Security.