Using more laziness in the Stream module,which can be important in the future when implementing the Processor arrow.