package base_quickcheck

  1. Overview
  2. Docs

Source file with_basic_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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
open! Base

module type S_bigarray = sig
  (** This helper module type exists separately just to [open Bigarray] in its scope. *)
  open Bigarray

  type 'a t

  val bigstring : (char, int8_unsigned_elt, c_layout) Array1.t t
  val float32_vec : (float, float32_elt, fortran_layout) Array1.t t
  val float64_vec : (float, float64_elt, fortran_layout) Array1.t t
  val float32_mat : (float, float32_elt, fortran_layout) Array2.t t
  val float64_mat : (float, float64_elt, fortran_layout) Array2.t t
end

module type S = sig
  type 'a t

  val unit : unit t
  val bool : bool t
  val char : char t
  val string : string t
  val bytes : bytes t
  val int : int t
  val int32 : int32 t
  val int63 : Int63.t t
  val int64 : int64 t
  val nativeint : nativeint t
  val float : float t
  val sexp : Sexp.t t
  val option : 'a t -> 'a option t
  val list : 'a t -> 'a list t
  val array : 'a t -> 'a array t
  val ref : 'a t -> 'a ref t
  val lazy_t : 'a t -> 'a Lazy.t t
  val both : 'a t -> 'b t -> ('a * 'b) t
  val either : 'a t -> 'b t -> ('a, 'b) Either.t t
  val result : 'a t -> 'b t -> ('a, 'b) Result.t t

  include S_bigarray with type 'a t := 'a t (** @inline *)
end