Data.Stream.Infinite

The type of streams

data Stream a

Basic functions

tail

inits

prepend

concat

Stream transformations

intersperse

interleave

scanl

scanl'

scanl1

scanl1'

transpose

Building streams

iterate

cycle

unfold

Extracting sublists

take

drop

splitAt

takeWhile

dropWhile

span

break

filter

partition

group

groupBy

Sublist predicates

isPrefixOf

Indexing streams

(!!)

elemIndex

elemIndices

findIndex

findIndices

Zipping and unzipping streams

zip

zipWith

unzip

Functions on streams of characters

words

unwords

lines

unlines