A library for manipulating infinite lists.

LTS Haskell 22.23:
Stackage Nightly 2024-05-30:
Latest on Hackage:

See all snapshots Stream appears in

Maintained by Wouter Swierstra
This version can be pinned in stack with:Stream-,1009

Module documentation for

Used by 1 package in lts-18.28(full list with versions):

This package implements functions, analogous to those from Data.List, to create and manipulate infinite lists: data Stream a = Cons a (Stream a). It provides alternative definitions for those Prelude functions that make sense for such streams. Note that this package has (almost) nothing to do with the work on Stream Fusion by Duncan Coutts, Roman Leshchinskiy, and Don Stewart.