package feat-core

  1. Overview
  2. Docs

A subset of the signature of the module Stdlib.Random.

val bits : unit -> int

bits s returns 30 random bits in a nonnegative integer.

val int : int -> int

int bound returns a random integer comprised between 0 (inclusive) and bound (exclusive). bound must be greater than 0 and less than 230.