package make-random

  1. Overview
  2. Docs

Functors for the Random Module

This module provide functors to reproduce the interface of the standard library's Random module with other pseudo-random number generators.

module Bits : sig ... end

Signatures for providers of bits.

module Sig : sig ... end

Output signatures.

Functor for the Basic Interface

Functors for the Full Interface

Standard Library's Random

Pretty useless, but allows to check that the signatures in Sig match with what is in Stdlib.Random.

module StdRandom : Sig.Full with type State.t = Stdlib.Random.State.t