© Stefania Loredana Nita and Marius Mihailescu 2019
Stefania Loredana Nita and Marius MihailescuHaskell Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4507-1_19

19. Haskell Pipes

Stefania Loredana Nita1  and Marius Mihailescu1
(1)
Bucharest, Romania
 

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 ...

Get Haskell Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.