You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Exercise 3.67: 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.
|
|
|