on master help sign in
Move the fold running APIs at the beginning
9743722Harendra Kumar
core/src/Streamly/Data/Fold.hs+6−6
@@ -128,9 +128,14 @@
128
128
129module Streamly.Data.Fold
129module Streamly.Data.Fold
130 (
130 (
131+ -- * Running A Fold
132+ drive
133+ -- XXX Should we have a stream returning function in fold module?
134+ -- , breakStream
135+
131 -- * Fold Type
136 -- * Fold Type
132
137
133− Fold -- (..)
138+ , Fold -- (..)
134 , Tee (..)
139 , Tee (..)
135
140
136 -- * Constructors
141 -- * Constructors
@@ -223,11 +228,6 @@ module Streamly.Data.Fold
223 , and
228 , and
224 , or
229 , or
225
230
226− -- * Running A Fold
227− , drive
228− -- XXX Should we have a stream returning function in fold module?
229− -- , breakStream
230−
231 -- * Incremental builders
231 -- * Incremental builders
232 -- | Mutable arrays ("Streamly.Data.MutArray") are basic builders. You can
232 -- | Mutable arrays ("Streamly.Data.MutArray") are basic builders. You can
233 -- use the 'Streamly.Data.MutArray.snoc' or
233 -- use the 'Streamly.Data.MutArray.snoc' or