@@ -17,29 +17,39 @@
18module Streamly.Prelude
18module Streamly.Prelude
20− -- * Construction
20+ -- * Construction and Deconstruction
21+ -- | Primitives to construct or inspect a stream.
28+ -- | Generate a monadic stream from an input structure, a seed or a
29+ -- generation function.
25 , unfoldrM
31 , unfoldrM
28 , iterateM
33 , iterateM
38+ -- | Folds accept a 'StreamT' type instead of a polymorphic type to ensure
39+ -- that streams have a monomorphic type by default. In case you want to use
40+ -- any other type of stream you can use one of the type combinators to
41+ -- convert the stream type before passing to a fold function.
31 -- ** General Folds
43 -- ** General Folds
42 -- ** Special Folds
51 -- ** Special Folds
@@ -50,12 +60,15 @@ module Streamly.Prelude
59 -- * Filtering
72 -- * Filtering
@@ -63,11 +76,12 @@ module Streamly.Prelude
64 , dropWhile
77 , dropWhile
66− -- * Transformation
79+ -- * Reordering
69 , sequence
84 , sequence
72 -- * Zipping
86 -- * Zipping