Infinite lists in Scheme: Streams (original) (raw)
We can work with lists of infinite length by delaying the evaluation of every list tail using delay
As an invariant, every list tail will be delayed
We can work with lists of infinite length by delaying the evaluation of every list tail using delay
As an invariant, every list tail will be delayed