Fix the sectioning.
This commit is contained in:
parent
10f0e0ab0c
commit
f5c762b6d8
1 changed files with 4 additions and 6 deletions
|
@ -400,6 +400,8 @@ a couple conversions.
|
|||
(lists-transpose '((a b) (1 2 3) (#t)))
|
||||
]}
|
||||
|
||||
@section{Randomness}
|
||||
|
||||
@defproc*[([(in-random) (Sequenceof Flonum)]
|
||||
[(in-random [k Integer]) (Sequenceof Nonnegative-Fixnum)]
|
||||
[(in-random [min Integer] [max Integer]) (Sequenceof Nonnegative-Fixnum)])]{
|
||||
|
@ -427,6 +429,8 @@ range @racket[min] to @racket[max]-1.}
|
|||
(stream->list (stream-take (in-random 5 10) 5))
|
||||
]}
|
||||
|
||||
@section{Additional stream utilities}
|
||||
|
||||
@defproc[(cartesian-product-2/stream [s1 (Sequenceof a)]
|
||||
[s2 (Sequenceof b)])
|
||||
(Sequenceof (Pair a b))]{
|
||||
|
@ -464,10 +468,4 @@ values of different types.
|
|||
(stream->list (cartesian-product/stream (list (in-range 3) (in-range 4 6) '(a b))))
|
||||
]}
|
||||
|
||||
@section{Functions and procedures}
|
||||
|
||||
@section{Randomness}
|
||||
|
||||
@section{Additional stream utilities}
|
||||
|
||||
@section{Boolean operations}
|
||||
|
|
Loading…
Reference in a new issue