@@ -1176,9 +1176,11 @@ dropWhile p t0 = dropWhile' t0
11761176"LAZY TEXT dropWhile -> unfused" [1] forall p t.
11771177 unstream (S.dropWhile p (stream t)) = dropWhile p t
11781178 #-}
1179+
11791180-- | /O(n)/ 'dropWhileEnd' @p@ @t@ returns the prefix remaining after
1180−-- dropping characters that fail the predicate @p@ from the end of
1181+-- dropping characters that satisfy the predicate @p@ from the end of
11811182-- @t@.
1183+--
11821184-- Examples:
11831185--
11841186-- > dropWhileEnd (=='.') "foo..." == "foo"
@@ -1195,7 +1197,7 @@ dropWhileEnd p = go
11951197{-# INLINE dropWhileEnd #-}
11961198
11971199-- | /O(n)/ 'dropAround' @p@ @t@ returns the substring remaining after
1198−-- dropping characters that fail the predicate @p@ from both the
1200+-- dropping characters that satisfy the predicate @p@ from both the
11991201-- beginning and end of @t@. Subject to fusion.
12001202dropAround :: (Char -> Bool) -> Text -> Text
12011203dropAround p = dropWhile p . dropWhileEnd p