package popper

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

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

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

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

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

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

OCaml

Innovation. Community. Security.