@@ -136,7 +136,7 @@ module Streamly.Fold
136136 , mapM
137137
138138 -- ** Mapping
139− , transform
139+ --, transform
140140 , lmap
141141 --, lsequence
142142 , lmapM
@@ -320,6 +320,7 @@ module Streamly.Fold
320320 -- , chunksOf
321321 , duplicate -- experimental
322322
323+ {-
323324 -- * Windowed Classification
324325 -- | Split the stream into windows or chunks in space or time. Each window
325326 -- can be associated with a key, all events associated with a particular
@@ -333,13 +334,13 @@ module Streamly.Fold
333334 -- ** Tumbling Windows
334335 -- | A new window starts after the previous window is finished.
335336 -- , classifyChunksOf
336− , classifySessionsOf
337+ -- , classifySessionsOf
337338
338339 -- ** Keep Alive Windows
339340 -- | The window size is extended if an event arrives within the specified
340341 -- window size. This can represent sessions with idle or inactive timeout.
341342 -- , classifyKeepAliveChunks
342− , classifyKeepAliveSessions
343+ -- , classifyKeepAliveSessions
343344
344345 {-
345346 -- ** Sliding Windows
@@ -351,6 +352,7 @@ module Streamly.Fold
351352 -- ** Sliding Window Buffers
352353 -- , slidingChunkBuffer
353354 -- , slidingSessionBuffer
355+ -}
354356 )
355357where
356358
@@ -492,9 +494,9 @@ mapM f = sequence . fmap f
492494-- | Apply a transformation on a 'Fold' using a 'Pipe'.
493495--
494496-- @since 0.7.0
495−{-# INLINE transform #-}
496−transform :: Monad m => Pipe m a b -> Fold m b c -> Fold m a c
497−transform (Pipe pstep1 pstep2 pinitial) (Fold fstep finitial fextract) =
497+{-# INLINE _transform #-}
498+_transform :: Monad m => Pipe m a b -> Fold m b c -> Fold m a c
499+_transform (Pipe pstep1 pstep2 pinitial) (Fold fstep finitial fextract) =
498500 Fold step initial extract
499501
500502 where
@@ -2636,14 +2638,14 @@ classifySessionsBy tick timeout reset (Fold step initial extract) str =
26362638-- only if no event is received within the specified session window size.
26372639--
26382640-- @since 0.7.0
2639−{-# INLINABLE classifyKeepAliveSessions #-}
2640−classifyKeepAliveSessions
2641+{-# INLINABLE _classifyKeepAliveSessions #-}
2642+_classifyKeepAliveSessions
26412643 :: (IsStream t, MonadAsync m, Ord k)
26422644 => Double -- ^ session inactive timeout
26432645 -> Fold m a b -- ^ Fold to be applied to session payload data
26442646 -> t m (k, a, Bool, AbsTime) -- ^ session key, data, close flag, timestamp
26452647 -> t m (k, b)
2646−classifyKeepAliveSessions timeout = classifySessionsBy 1 timeout True
2648+_classifyKeepAliveSessions timeout = classifySessionsBy 1 timeout True
26472649
26482650------------------------------------------------------------------------------
26492651-- Keyed tumbling windows
@@ -2685,11 +2687,11 @@ classifyChunksOf wsize = classifyChunksBy wsize False
26852687-- the timestamps with a clock resolution of 1 second.
26862688--
26872689-- @since 0.7.0
2688−{-# INLINABLE classifySessionsOf #-}
2689−classifySessionsOf
2690+{-# INLINABLE _classifySessionsOf #-}
2691+_classifySessionsOf
26902692 :: (IsStream t, MonadAsync m, Ord k)
26912693 => Double -- ^ time window size
26922694 -> Fold m a b -- ^ Fold to be applied to window events
26932695 -> t m (k, a, Bool, AbsTime) -- ^ window key, data, close flag, timestamp
26942696 -> t m (k, b)
2695−classifySessionsOf interval = classifySessionsBy 1 interval False
2697+_classifySessionsOf interval = classifySessionsBy 1 interval False