@@ -366,8 +366,8 @@ length t = S.length (stream t)
366366
367367-- -----------------------------------------------------------------------------
368368-- * Transformations
369−-- | /O(n)/ 'map' @f @xs is the 'Text' obtained by applying @f@ to
370−-- each element of @xs@. Subject to array fusion.
369+-- | /O(n)/ 'map' @f @t@ is the 'Text' obtained by applying @f@ to
370+-- each element of @t@. Subject to array fusion.
371371map :: (Char -> Char) -> Text -> Text
372372map f t = unstream (S.map f (stream t))
373373{-# INLINE [1] map #-}
@@ -692,8 +692,8 @@ takeWhile p t@(Text arr off len) = loop 0
692692 unstream (S.takeWhile p (stream t)) = takeWhile p t
693693 #-}
694694
695−-- | /O(n)/ 'dropWhile' @p@ @xs@ returns the suffix remaining after
696−-- 'takeWhile' @p@ @xs@. This function is subject to array fusion.
695+-- | /O(n)/ 'dropWhile' @p@ @t@ returns the suffix remaining after
696+-- 'takeWhile' @p@ @t@. This function is subject to array fusion.
697697dropWhile :: (Char -> Bool) -> Text -> Text
698698dropWhile p t@(Text arr off len) = loop 0 0
699699 where loop !i !l | l >= len = empty