random (two-parameter)

Category: Random procedures

Documentation

;;; (random lb ub) -> (all-of integer? (cut (<= lb <>)) (cut (< <> ub)))
;;;   lb : integer?
;;;   ub : (all-of integer? (cut (< <> lb)))
;;; Compute an unpredictable number between `lb` (inclusive) and 
;;; `ub` (exclusive).

Examples

Forthcoming

Tests

Forthcoming

See also

Forthcoming

Questions

Why do the three versions of random have the same name?

That’s what the designers chose.