Add comment
This commit is contained in:
parent
fef9a58275
commit
98bd8f0430
@ -31,7 +31,9 @@
|
|||||||
constrs)))
|
constrs)))
|
||||||
;;;
|
;;;
|
||||||
;;; Make constrained random number generator.
|
;;; Make constrained random number generator.
|
||||||
;;; Constraints is list of '(from to weight)
|
;;; Constraints is list of '(from to weight), where
|
||||||
|
;;; 'from' - inclusive bottom limit, 'to' - exclusive
|
||||||
|
;;; top limit or random range.
|
||||||
;;;
|
;;;
|
||||||
(define (constrained-random-generator constrs)
|
(define (constrained-random-generator constrs)
|
||||||
(let ((constrs (clean-constraints constrs)))
|
(let ((constrs (clean-constraints constrs)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user