Streaming.Prelude

Types

data Stream f m r

data Of a b

lazily

strictly

Introducing streams of elements

each

yield

unfoldr

stdinLn

readLn

fromHandle

repeatM

replicateM

Consuming streams of elements

stdoutLn

stdoutLn'

mapM_

print

toHandle

drain

Stream transformers

map

mapM

maps'

maps

sequence

mapFoldable

filter

filterM

for

take

takeWhile

drop

dropWhile

concat

scan

scanM

chain

read

show

seq

Splitting and inspecting streams of elements

next

uncons

split

break

span

Folds

fold

fold'

foldM

foldM'

sum

sum'

product

product'

toList

toListM

toListM'

foldrM

foldrT

Short circuiting folds

Zips

zip

zipWith