@@ -23,7 +23,7 @@ import Test.Hspec as H
23import Streamly
23import Streamly
24import Streamly.Prelude ((.:), nil)
24import Streamly.Prelude ((.:), nil)
25import qualified Streamly.Prelude as S
25import qualified Streamly.Prelude as S
26−import qualified Streamly.Internal as Internal
26+import qualified Streamly.Internal.Prelude as IP
28singleton :: IsStream t => a -> t m a
28singleton :: IsStream t => a -> t m a
29singleton a = a .: nil
29singleton a = a .: nil
@@ -638,12 +638,12 @@ checkFoldrLaziness = do
638 (return False) (S.fromList (2:4:5:undefined :: [Int]))
638 (return False) (S.fromList (2:4:5:undefined :: [Int]))
639 `shouldReturn` True
639 `shouldReturn` True
641− S.toList (Internal.foldrS (\x xs -> if odd x then return True else xs)
641+ S.toList (IP.foldrS (\x xs -> if odd x then return True else xs)
642 (return False)
642 (return False)
643 $ (S.fromList (2:4:5:undefined) :: SerialT IO Int))
643 $ (S.fromList (2:4:5:undefined) :: SerialT IO Int))
644 `shouldReturn` [True]
644 `shouldReturn` [True]
646− S.toList (Internal.foldrT (\x xs -> if odd x then return True else xs)
646+ S.toList (IP.foldrT (\x xs -> if odd x then return True else xs)
647 (return False)
647 (return False)
648 $ (S.fromList (2:4:5:undefined) :: SerialT IO Int))
648 $ (S.fromList (2:4:5:undefined) :: SerialT IO Int))
649 `shouldReturn` [True]
649 `shouldReturn` [True]