Streaming.Prelude

Types

data Of a b

Introducing streams of elements

yield

each

stdinLn

readLn

fromHandle

readFile

iterate

iterateM

repeat

repeatM

replicate

untilRight

cycle

replicateM

enumFrom

enumFromThen

seconds

unfoldr

Consuming streams of elements

stdoutLn

stdoutLn'

mapM_

print

toHandle

writeFile

effects

erase

drained

Stream transformers

map

mapM

maps

mapped

for

with

subst

copy

duplicate

store

chain

sequence

filter

filterM

delay

intersperse

take

takeWhile

takeWhileM

drop

dropWhile

concat

scan

scanM

scanned

read

show

cons

slidingWindow

Splitting and inspecting streams of elements

next

uncons

splitAt

split

breaks

break

breakWhen

span

group

groupBy

Sum and Compose manipulation

distinguish

switch

separate

unseparate

eitherToSum

sumToEither

sumToCompose

composeToSum

Folds

fold

fold_

foldM

foldM_

all

all_

any

any_

sum

sum_

product

product_

head

head_

last

last_

elem

elem_

notElem

notElem_

length

length_

toList

toList_

mconcat

mconcat_

minimum

minimum_

maximum

maximum_

foldrM

foldrT

Zips and unzips

zip

zipWith

zip3

zipWith3

unzip

partitionEithers

partition

Maybes

catMaybes

mapMaybe

Pair manipulation

lazily

strictly

fst'

snd'

mapOf

_first

_second

Interoperation

reread

Basic Type

data Stream f m r