package popper

  1. Overview
  2. Docs
val of_length : int -> 'a t -> 'a array t

of_length n is a sample that always produces an array of fixed size n.

val range : int -> int -> 'a t -> 'a array t

range min max s is a sample that always produces an array of size n, where min <= n < max, using the given sample s.

val non_empty : 'a t -> 'a array t

non_empty s produces a non-empty array using the sample s to draw the elements.

OCaml

Innovation. Community. Security.