@@ -897,6 +897,10 @@ words = S.wordsBy isSpace
897897-- | Unfold a stream to character streams using the supplied 'Unfold'
898898-- and concat the results suffixing a newline character @\\n@ to each stream.
899899--
900+-- @
901+-- unlines = Stream.interposeSuffix '\n'
902+-- @
903+--
900904-- /Internal/
901905{-# INLINE unlines #-}
902906unlines :: (MonadIO m, IsStream t) => Unfold m a Char -> t m a -> t m Char
@@ -906,6 +910,10 @@ unlines = S.interposeSuffix '\n'
906910-- 'Unfold' and concat the results with a whitespace character infixed between
907911-- the streams.
908912--
913+-- @
914+-- unwords = Stream.interpose ' '
915+-- @
916+--
909917-- /Internal/
910918{-# INLINE unwords #-}
911919unwords :: (MonadIO m, IsStream t) => Unfold m a Char -> t m a -> t m Char