diff --git a/basis/random/random.factor b/basis/random/random.factor index 0af42916f4..f425bb96e0 100644 --- a/basis/random/random.factor +++ b/basis/random/random.factor @@ -114,7 +114,8 @@ ERROR: too-many-samples seq n ; [ drop ] 2bi nths ; : delete-random ( seq -- elt ) - [ length random-integer ] keep [ nth ] 2keep remove-nth! drop ; + [ length random-integer ] keep + [ nth ] 2keep remove-nth! drop ; : with-random ( tuple quot -- ) random-generator swap with-variable ; inline