Module MakeRandom.Sig

Output signatures.

Signatures

This module contains the signatures of the modules generated by functors in MakeRandom. Basic contains only the basic/usual functions from the Random interface, while Full also contains the Random.State module and the state manipulations functions.

Type of the basic functions

The module type Basic includes the basic/usual functions from the Random interface. For initialisation functions and PRNG state, see Full.

module type Basic = sig ... end

Complete type of the module

The module type Full is identical to that of Random except for the type Full.State.t which is, of course, different. It can be used as a drop-in replacement of Random.

module type Full = sig ... end