@@ -136,7 +136,7 @@ import Streamly.Internal.Data.Array.Foreign.Type (Array(..), length)
136import Streamly.Internal.Data.Fold.Type (Fold(..))
136import Streamly.Internal.Data.Fold.Type (Fold(..))
137import Streamly.Internal.Data.Producer.Type (Producer(..))
137import Streamly.Internal.Data.Producer.Type (Producer(..))
138import Streamly.Internal.Data.Stream.Serial (SerialT(..))
138import Streamly.Internal.Data.Stream.Serial (SerialT(..))
139−import Streamly.Internal.Data.Tuple.Strict (Tuple3'(..))
139+import Streamly.Internal.Data.Tuple.Strict (Tuple3Fused'(..))
140import Streamly.Internal.Data.Unfold.Type (Unfold(..))
140import Streamly.Internal.Data.Unfold.Type (Unfold(..))
141import Streamly.Internal.System.IO (unsafeInlineIO)
141import Streamly.Internal.System.IO (unsafeInlineIO)
@@ -302,15 +302,15 @@ writeLastN n
305− step (Tuple3' rb rh i) a = do
305+ step (Tuple3Fused' rb rh i) a = do
306 rh1 <- liftIO $ RB.unsafeInsert rb rh a
306 rh1 <- liftIO $ RB.unsafeInsert rb rh a
307− return $ FL.Partial $ Tuple3' rb rh1 (i + 1)
307+ return $ FL.Partial $ Tuple3Fused' rb rh1 (i + 1)
309 initial =
309 initial =
310− let f (a, b) = FL.Partial $ Tuple3' a b (0 :: Int)
310+ let f (a, b) = FL.Partial $ Tuple3Fused' a b (0 :: Int)
311 in fmap f $ liftIO $ RB.new n
311 in fmap f $ liftIO $ RB.new n
313− done (Tuple3' rb rh i) = do
313+ done (Tuple3Fused' rb rh i) = do
314 arr <- liftIO $ MA.newArray n
314 arr <- liftIO $ MA.newArray n
315 foldFunc i rh snoc' arr rb
315 foldFunc i rh snoc' arr rb