@@ -228,7 +228,7 @@ sourceConcatMapId value n =
228228{-# INLINE apDiscardFst #-}
229229apDiscardFst :: MonadAsync m =>
230230 Int -> Int -> m ()
231−apDiscardFst linearCount start = drain $ getCrossStream $
231+apDiscardFst linearCount start = drain $ unCrossStream $
232232 CrossStream (sourceUnfoldrM nestedCount2 start)
233233 *> CrossStream (sourceUnfoldrM nestedCount2 start)
234234
@@ -238,7 +238,7 @@ apDiscardFst linearCount start = drain $ getCrossStream $
238238
239239{-# INLINE apDiscardSnd #-}
240240apDiscardSnd :: MonadAsync m => Int -> Int -> m ()
241−apDiscardSnd linearCount start = drain $ getCrossStream $
241+apDiscardSnd linearCount start = drain $ unCrossStream $
242242 CrossStream (sourceUnfoldrM nestedCount2 start)
243243 <* CrossStream (sourceUnfoldrM nestedCount2 start)
244244
@@ -248,7 +248,7 @@ apDiscardSnd linearCount start = drain $ getCrossStream $
248248
249249{-# INLINE apLiftA2 #-}
250250apLiftA2 :: MonadAsync m => Int -> Int -> m ()
251−apLiftA2 linearCount start = drain $ getCrossStream $
251+apLiftA2 linearCount start = drain $ unCrossStream $
252252 liftA2 (+) (CrossStream (sourceUnfoldrM nestedCount2 start))
253253 (CrossStream (sourceUnfoldrM nestedCount2 start))
254254
@@ -258,7 +258,7 @@ apLiftA2 linearCount start = drain $ getCrossStream $
258258
259259{-# INLINE toNullAp #-}
260260toNullAp :: MonadAsync m => Int -> Int -> m ()
261−toNullAp linearCount start = drain $ getCrossStream $
261+toNullAp linearCount start = drain $ unCrossStream $
262262 (+) <$> CrossStream (sourceUnfoldrM nestedCount2 start)
263263 <*> CrossStream (sourceUnfoldrM nestedCount2 start)
264264
@@ -268,7 +268,7 @@ toNullAp linearCount start = drain $ getCrossStream $
268268
269269{-# INLINE monadThen #-}
270270monadThen :: MonadAsync m => Int -> Int -> m ()
271−monadThen linearCount start = drain $ getCrossStream $ do
271+monadThen linearCount start = drain $ unCrossStream $ do
272272 CrossStream (sourceUnfoldrM nestedCount2 start) >>
273273 CrossStream (sourceUnfoldrM nestedCount2 start)
274274
@@ -278,7 +278,7 @@ monadThen linearCount start = drain $ getCrossStream $ do
278278
279279{-# INLINE toNullM #-}
280280toNullM :: MonadAsync m => Int -> Int -> m ()
281−toNullM linearCount start = drain $ getCrossStream $ do
281+toNullM linearCount start = drain $ unCrossStream $ do
282282 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
283283 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
284284 return $ x + y
@@ -289,7 +289,7 @@ toNullM linearCount start = drain $ getCrossStream $ do
289289
290290{-# INLINE toNullM3 #-}
291291toNullM3 :: MonadAsync m => Int -> Int -> m ()
292−toNullM3 linearCount start = drain $ getCrossStream $ do
292+toNullM3 linearCount start = drain $ unCrossStream $ do
293293 x <- CrossStream (sourceUnfoldrM nestedCount3 start)
294294 y <- CrossStream (sourceUnfoldrM nestedCount3 start)
295295 z <- CrossStream (sourceUnfoldrM nestedCount3 start)
@@ -299,7 +299,7 @@ toNullM3 linearCount start = drain $ getCrossStream $ do
299299
300300{-# INLINE filterAllOutM #-}
301301filterAllOutM :: MonadAsync m => Int -> Int -> m ()
302−filterAllOutM linearCount start = drain $ getCrossStream $ do
302+filterAllOutM linearCount start = drain $ unCrossStream $ do
303303 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
304304 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
305305 let s = x + y
@@ -311,7 +311,7 @@ filterAllOutM linearCount start = drain $ getCrossStream $ do
311311
312312{-# INLINE filterAllInM #-}
313313filterAllInM :: MonadAsync m => Int -> Int -> m ()
314−filterAllInM linearCount start = drain $ getCrossStream $ do
314+filterAllInM linearCount start = drain $ unCrossStream $ do
315315 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
316316 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
317317 let s = x + y
@@ -323,7 +323,7 @@ filterAllInM linearCount start = drain $ getCrossStream $ do
323323
324324{-# INLINE filterSome #-}
325325filterSome :: MonadAsync m => Int -> Int -> m ()
326−filterSome linearCount start = drain $ getCrossStream $ do
326+filterSome linearCount start = drain $ unCrossStream $ do
327327 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
328328 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
329329 let s = x + y
@@ -336,7 +336,7 @@ filterSome linearCount start = drain $ getCrossStream $ do
336336{-# INLINE breakAfterSome #-}
337337breakAfterSome :: Int -> Int -> IO ()
338338breakAfterSome linearCount start = do
339− (_ :: Either ErrorCall ()) <- try $ drain $ getCrossStream $ do
339+ (_ :: Either ErrorCall ()) <- try $ drain $ unCrossStream $ do
340340 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
341341 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
342342 let s = x + y
@@ -349,7 +349,7 @@ breakAfterSome linearCount start = do
349349
350350{-# INLINE toListM #-}
351351toListM :: MonadAsync m => Int -> Int -> m [Int]
352−toListM linearCount start = Stream.fold Fold.toList $ getCrossStream $ do
352+toListM linearCount start = Stream.fold Fold.toList $ unCrossStream $ do
353353 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
354354 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
355355 return $ x + y
@@ -361,7 +361,7 @@ toListM linearCount start = Stream.fold Fold.toList $ getCrossStream $ do
361361{-# INLINE toListSome #-}
362362toListSome :: MonadAsync m => Int -> Int -> m [Int]
363363toListSome linearCount start =
364− Stream.fold Fold.toList $ Stream.take 10000 $ getCrossStream $ do
364+ Stream.fold Fold.toList $ Stream.take 10000 $ unCrossStream $ do
365365 x <- CrossStream (sourceUnfoldrM nestedCount2 start)
366366 y <- CrossStream (sourceUnfoldrM nestedCount2 start)
367367 return $ x + y