Solution to Exercise 3.53
clean99 opened this issue · comments
clean99 commented
This defines s
to be a stream whose first element is 1 and the rest elements are the double of the stream's previous element.
For instance, the ith element is twice as many as the i - 1 element(i bigger than 1). The result of the stream is 1, 2, 4, 8, 16......