Next Previous Up Top Contents Index

2 The Common Dylan Library

2.4 Simple random number generation

Common Dylan provides a simple facility for generating sequences of pseudo-random integers via the simple-random module exported from the common-extensions library.

Instances of the sealed class <random> generate pseudo-random integers. Given an instance of <random>, the function random will return a pseudo-random integer. See "The SIMPLE-RANDOM module" on page 54 for reference descriptions of random and <random>.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index