Implementing simple Streams using lazy-IO in HaskellExplores How simple Lazy IO in Haskell can be used to implement basic streaming functionality