Stream

A library for manipulating infinite lists.

Latest on Hackage:0.4.7.2

See all snapshots Stream appears in

Maintained by Wouter Swierstra

Module documentation for 0.4.7.2

This version can be pinned in stack with:Stream-0.4.7.2@sha256:ed78165aa34c4e23dc53c9072f8715d414a585037f2145ea0eb2b38300354c53,1009

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.

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