@@ -35,7 +35,7 @@ module Streamly.Streams.StreamK
35 , Stream (..)
35 , Stream (..)
36 , unStreamIsolated
36 , unStreamIsolated
37 , isolateStream
37 , isolateStream
38− , unstreamShared
38+ , unStreamShared
39 , runStreamSVar
39 , runStreamSVar
41 -- * Construction
41 -- * Construction
@@ -224,15 +224,15 @@ isolateStream x = Stream $ \st stp sng yld ->
224 unStreamIsolated x st stp sng yld
224 unStreamIsolated x st stp sng yld
226-- | Like unstream, but passes a shared SVar across continuations.
226-- | Like unstream, but passes a shared SVar across continuations.
227−{-# INLINE unstreamShared #-}
227+{-# INLINE unStreamShared #-}
228−unstreamShared ::
228+unStreamShared ::
229 Stream m a
229 Stream m a
230 -> State Stream m a -- state
230 -> State Stream m a -- state
231 -> m r -- stop
231 -> m r -- stop
232 -> (a -> m r) -- singleton
232 -> (a -> m r) -- singleton
233 -> (a -> Stream m a -> m r) -- yield
233 -> (a -> Stream m a -> m r) -- yield
235−unstreamShared = unStream
235+unStreamShared = unStream
237-- Run the stream using a run function associated with the SVar that runs the
237-- Run the stream using a run function associated with the SVar that runs the
238-- streams with a captured snapshot of the monadic state.
238-- streams with a captured snapshot of the monadic state.
@@ -1208,7 +1208,7 @@ bindWith par m f = go m
1209 go (Stream g) =
1209 go (Stream g) =
1210 Stream $ \st stp sng yld ->
1210 Stream $ \st stp sng yld ->
1211− let runShared x = unstreamShared x st stp sng yld
1211+ let runShared x = unStreamShared x st stp sng yld
1212 runIsolated x = unStreamIsolated x st stp sng yld
1212 runIsolated x = unStreamIsolated x st stp sng yld
1214 single a = runIsolated $ f a
1214 single a = runIsolated $ f a