@@ -574,12 +574,9 @@ concat ts = Text (A.run go) 0 len
574574{-# INLINE concat #-}
575575
576576-- | /O(n)/ Map a function over a 'Text' that results in a 'Text', and
577−-- concatenate the results. Subject to fusion.
578−--
579−-- Note: if in 'concatMap' @f@ @t@, @f@ is defined in terms of fusible
580−-- functions, it will also be fusible.
577+-- concatenate the results.
581578concatMap :: (Char -> Text) -> Text -> Text
582−concatMap f t = unstream (S.concatMap (stream . f) (stream t))
579+concatMap f = concat . foldr ((:) . f) []
583580{-# INLINE concatMap #-}
584581
585582-- | /O(n)/ 'any' @p@ @t@ determines whether any character in the