Move trimming operations to correct section
commit0e2de7f7dd9aea2132cb91e47a58e461988f6e26
authorHarendra Kumar <harendra@composewell.com>
dateSat 16 Jan 2021, 18:30 (6 years ago)
parent0979eeb
src/Streamly/Internal/Data/Stream/IsStream/Nesting.hs+5−5
@@ -57,6 +57,11 @@ module Streamly.Internal.Data.Stream.IsStream.Nesting
5757 , mergeAsyncBy
5858 , mergeAsyncByM
5959
60+ -- ** Trimming
61+ , dropPrefix
62+ , dropInfix
63+ , dropSuffix
64+
6065 -- ** Combine N Streams
6166 -- | Functions generally ending in these shapes:
6267 --
@@ -140,11 +145,6 @@ module Streamly.Internal.Data.Stream.IsStream.Nesting
140145 , arraysOf
141146 , intervalsOf
142147
143− -- ** Trimming
144− , dropPrefix
145− , dropInfix
146− , dropSuffix
147−
148148 -- ** Grouping
149149 -- In imperative terms, grouped folding can be considered as a nested loop
150150 -- where we loop over the stream to group elements and then loop over