From 689acf405f58ae82c4ff73103ef0c36a0cc16285 Mon Sep 17 00:00:00 2001 From: Paolo Capriotti Date: Mon, 6 Feb 2012 20:18:58 +0000 Subject: [PATCH] Update documentation. --- Control-Pipe-Combinators.html | 9 +++++++-- doc-index.html | 2 +- mini_Control-Pipe-Combinators.html | 2 +- pipes-extra.haddock | Bin 11553 -> 12727 bytes 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Control-Pipe-Combinators.html b/Control-Pipe-Combinators.html index 0c28e80..958beb0 100644 --- a/Control-Pipe-Combinators.html +++ b/Control-Pipe-Combinators.html @@ -2,7 +2,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Control-Pipe-Combinators.html");}; //]]>

pipes-extra-0.0.1: Pipes utilities

Control.Pipe.Combinators

Description

Basic pipe combinators. -

Synopsis

Documentation

($$) :: Monad m => Producer a m r' -> Consumer a m r -> m (Maybe r)

Connect producer to consumer, ignoring producer return value. +

Synopsis

Documentation

($$) :: Monad m => Producer a m r' -> Consumer a m r -> m (Maybe r)

Connect producer to consumer, ignoring producer return value.

fromList :: Monad m => [a] -> Pipe x a m ()

Successively yield elements of a list.

nullP :: Monad m => Pipe a b m ()

A pipe that terminates immediately.

fold :: Monad m => (b -> a -> b) -> b -> Pipe a x m b

A fold pipe. Apply a binary function to successive input values and an @@ -11,7 +11,12 @@

take :: Monad m => Int -> Pipe a a m ()

Act as an identity for the first n values, then terminate.

drop :: Monad m => Int -> Pipe a a m r

Remove the first n values from the stream, then act as an identity.

pipeList :: Monad m => (a -> [b]) -> Pipe a b m r

Apply a function with multiple return values to the stream. -

until :: Monad m => (a -> Bool) -> Pipe a a m ()

Terminate as soon as an input satisfying the predicate is received. +

takeWhile :: Monad m => (a -> Bool) -> Pipe a a m a

Act as an identity until as long as inputs satisfy the given predicate. + Return the first element that doesn't satisfy the predicate. +

takeWhile_ :: Monad m => (a -> Bool) -> Pipe a a m ()

Variation of takeWhile returning (). +

dropWhile :: Monad m => (a -> Bool) -> Pipe a a m r

Remove inputs as long as they satisfy the given predicate, then act as an + identity. +

intersperse :: Monad m => (a -> Bool) -> Pipe a (Maybe a) m r

Yield Nothing when an input satisfying the predicate is received.

groupBy :: Monad m => (a -> a -> Bool) -> Pipe a [a] m r

Group input values by the given predicate.

filter :: Monad m => (a -> Bool) -> Pipe a a m r

Remove values from the stream that don't satisfy the given predicate.

\ No newline at end of file diff --git a/doc-index.html b/doc-index.html index ab5b7be..85bc0d3 100644 --- a/doc-index.html +++ b/doc-index.html @@ -1,4 +1,4 @@ pipes-extra-0.0.1: Pipes utilities (Index)

pipes-extra-0.0.1: Pipes utilities

\ No newline at end of file +

pipes-extra-0.0.1: Pipes utilities

\ No newline at end of file diff --git a/mini_Control-Pipe-Combinators.html b/mini_Control-Pipe-Combinators.html index 09f0fb8..6882c4e 100644 --- a/mini_Control-Pipe-Combinators.html +++ b/mini_Control-Pipe-Combinators.html @@ -1,4 +1,4 @@ Control.Pipe.Combinators

Control.Pipe.Combinators

\ No newline at end of file +

Control.Pipe.Combinators

\ No newline at end of file diff --git a/pipes-extra.haddock b/pipes-extra.haddock index fbfbb2ca5a736e68905822022b0f6cc408b09eef..2ff2c24050f78a34bd59230e7fa12ab57881e132 100644 GIT binary patch delta 1246 zcmZuw%}Z2K6u;+=HoYc`8E1{$mgNoXeN`U_gsrgQGR8Aj;A@7>?;+~2$Rocr$Cy1sX-rP=o9 zi)a-hu_HwMS!$={Ie6=Y5Mcs8%r(V`;{n|4B#|%zW*Ylycv5%Er(j8`P{01#)NXu=?DcHHH!hzk zBfD_UlR}SU9fO`EWblLIf|dcPEM!|El-N#~=drx0QY?!Olb}6d79<*RzLy`G3mugEsGnW$i*b-CV~h6rO`~} z3V}CRC2*n4`3RX;5(ygoHjPH{evnqoxdVOdt0oH;DM@z|;)+%G3-W%`_%a+oYo{Y# zDOZ)os}lZOI<~mn@PNuLK?1+}kKww%0Urk?mLL${iPcr-coR5obEaR2>Z+j^g9$-J{;U>RoPyauZNtR{RkO*~%Tl!K4aMGVD_U zvb05e9qK#v86SswCiKbZE_85Lh-f*a+D{y>2yBfl+bf-^5{+On=6I-Rzu^KN2WrJ2 zi6KIor-qFg{_7%BD^y=lV3cj#86zxAhRD)5&SHYVGbh=0ip3Nwo?=z?R?KTAITK%q#i+3r_#saka3H;-NDaYHa4OW>p7_m zC9lhVHt=h=jde4DFLNKE8$0rwkkJQu8z72jJte_D!r4M?iq6PDRE$WLl|LtMLYJkI z6U+;a2=)jT1RcR%!J<-8BHW0_ZR6iUCjNgVn`l84!xk@?AHvSzE0bkT;y~bkH-?`4V zv8Lc17PVml@s0ai6YRUu6zpTcA%Anz<7!fWE4?;C!558{r8>SUZ=G*hnR&8s@9|Q7 R!MC)`KU;pv1?^Pc!aw_@ZQuX^