Modification of pairs
Modify the pairs procedure so that
(pairs integers integers)
will produce the stream of all pairs of integers
(i, j)
(without the condition
i ≤ j
). Hint: You will need to mix in an additional stream.
There are no comments yet.
Authentication required
You must log in to post a comment.
Login