@@ -250,14 +250,14 @@ words = foldWords A.write
250-- >>> S.toList $ unlines $ S.fromList ["lines", "this", "string"]
250-- >>> S.toList $ unlines $ S.fromList ["lines", "this", "string"]
251-- "lines\nthis\nstring\n"
251-- "lines\nthis\nstring\n"
253−-- > unlines = AS.unlinesBy '\n'
253+-- > unlines = A.concatWithSuffix '\n'
255-- Note that, in general
255-- Note that, in general
257-- > unlines . lines /= id
257-- > unlines . lines /= id
258{-# INLINE unlines #-}
258{-# INLINE unlines #-}
259unlines :: (MonadIO m, IsStream t) => t m (Array Char) -> t m Char
259unlines :: (MonadIO m, IsStream t) => t m (Array Char) -> t m Char
260−unlines = AS.unlinesBy '\n'
260+unlines = A.concatWithSuffix '\n'
262-- | Flattens the stream of @Array Char@, after appending a separating
262-- | Flattens the stream of @Array Char@, after appending a separating
263-- space to each string.
263-- space to each string.
@@ -268,7 +268,7 @@ unlines = AS.unlinesBy '\n'
268-- "unwords this string"
268-- "unwords this string"
271−-- > unwords = AS.flatten . (S.intersperse (A.fromList " "))
271+-- > unwords = A.concat . (S.intersperse (A.fromList " "))
273-- Note that, in general
273-- Note that, in general