3.5.3. Exploiting the Stream Paradigm
Exercise 3.67

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.


Nobody's finished this exercise yet. You'll be the first!


There are no comments yet.

Authentication required

You must log in to post a comment.

Login