Move the fold running APIs at the beginning
commit9743722782d1b89c7af5451dfb868077a7578aab
authorHarendra Kumar <harendra@composewell.com>
dateThu 9 Mar 2023, 18:42 (4 years ago)
parent43fe60e
core/src/Streamly/Data/Fold.hs+6−6
@@ -128,9 +128,14 @@
128128
129129module Streamly.Data.Fold
130130 (
131+ -- * Running A Fold
132+ drive
133+ -- XXX Should we have a stream returning function in fold module?
134+ -- , breakStream
135+
131136 -- * Fold Type
132137
133− Fold -- (..)
138+ , Fold -- (..)
134139 , Tee (..)
135140
136141 -- * Constructors
@@ -223,11 +228,6 @@ module Streamly.Data.Fold
223228 , and
224229 , or
225230
226− -- * Running A Fold
227− , drive
228− -- XXX Should we have a stream returning function in fold module?
229− -- , breakStream
230−
231231 -- * Incremental builders
232232 -- | Mutable arrays ("Streamly.Data.MutArray") are basic builders. You can
233233 -- use the 'Streamly.Data.MutArray.snoc' or