on master help sign in
Move trimming operations to correct section
0e2de7fHarendra Kumar
src/Streamly/Internal/Data/Stream/IsStream/Nesting.hs+5−5
@@ -57,6 +57,11 @@ module Streamly.Internal.Data.Stream.IsStream.Nesting
57 , mergeAsyncBy
57 , mergeAsyncBy
58 , mergeAsyncByM
58 , mergeAsyncByM
59
59
60+ -- ** Trimming
61+ , dropPrefix
62+ , dropInfix
63+ , dropSuffix
64+
60 -- ** Combine N Streams
65 -- ** Combine N Streams
61 -- | Functions generally ending in these shapes:
66 -- | Functions generally ending in these shapes:
62 --
67 --
@@ -140,11 +145,6 @@ module Streamly.Internal.Data.Stream.IsStream.Nesting
140 , arraysOf
145 , arraysOf
141 , intervalsOf
146 , intervalsOf
142
147
143− -- ** Trimming
144− , dropPrefix
145− , dropInfix
146− , dropSuffix
147−
148 -- ** Grouping
148 -- ** Grouping
149 -- In imperative terms, grouped folding can be considered as a nested loop
149 -- In imperative terms, grouped folding can be considered as a nested loop
150 -- where we loop over the stream to group elements and then loop over
150 -- where we loop over the stream to group elements and then loop over