Haskell streaming programs provide great features such as effects, streaming, and composability. In classical programming, you can choose just two of these features. In this chapter, you will learn how to use pipes to achieve all three.
If you renounce effects, then you will obtain lists that are pure and lazy (we will talk about laziness in Haskell in Chapter 21). You will be able to transform them by applying composable functions in constant space, but you will not be able to interleave the ...