Is it possible to apply functional programming to Scala streams such that the stream is processed sequentially, but the already processed part of the stream can be garbage c
You may want to look at Scalaz's ephemeral streams.