@@ -376,10 +376,7 @@ intercalate s = concat . (L.intersperse s)
377-- | /O(n)/ Concatenate a list of streams. Subject to array fusion.
377-- | /O(n)/ Concatenate a list of streams. Subject to array fusion.
378concat :: [Stream Char] -> Stream Char
378concat :: [Stream Char] -> Stream Char
379−concat = L.foldr append (Stream next Done 0)
379+concat = L.foldr append empty
382− next _ = internalError "concat"
384-- | Map a function over a stream that results in a stream and concatenate the
381-- | Map a function over a stream that results in a stream and concatenate the
385-- results.
382-- results.