Define a procedure partial-sums that takes as argument a stream S and returns the stream whose elements are S₀, S₀ + S₁, S₀ + S₁ + S₂, .... For example, (partial-sums integers) should be the stream 1, 3, 6, 10, 15, ....
Nobody's finished this exercise yet. You'll be the first!
There are no comments yet.
You must log in to post a comment.Login