on master help sign in
Fix some typos
commit8758ad9128ed011bbd3564dacd81684bfb7bfa66 authorJulien Cretel <j.cretel@umail.ucc.ie> dateThu 2 Jul 2015, 17:17 (11 years ago) parentb114f2a
3 files changed+6−6
Data/Text.hs+2−2 Data/Text/Internal/Fusion/Common.hs+2−2 Data/Text/Lazy.hs+2−2
Data/Text.hs+2−2
@@ -883,13 +883,13 @@ concatMap f = concat . foldr ((:) . f) []
883883{-# INLINE concatMap #-}
884884
885885-- | /O(n)/ 'any' @p@ @t@ determines whether any character in the
886−-- 'Text' @t@ satisifes the predicate @p@. Subject to fusion.
886+-- 'Text' @t@ satisfies the predicate @p@. Subject to fusion.
887887any :: (Char -> Bool) -> Text -> Bool
888888any p t = S.any p (stream t)
889889{-# INLINE any #-}
890890
891891-- | /O(n)/ 'all' @p@ @t@ determines whether all characters in the
892−-- 'Text' @t@ satisify the predicate @p@. Subject to fusion.
892+-- 'Text' @t@ satisfy the predicate @p@. Subject to fusion.
893893all :: (Char -> Bool) -> Text -> Bool
894894all p t = S.all p (stream t)
895895{-# INLINE all #-}
Data/Text/Internal/Fusion/Common.hs+2−2
@@ -593,7 +593,7 @@ concatMap f = foldr (append . f) empty
593593{-# INLINE [0] concatMap #-}
594594
595595-- | /O(n)/ any @p @xs determines if any character in the stream
596−-- @xs@ satisifes the predicate @p@.
596+-- @xs@ satisfies the predicate @p@.
597597any :: (Char -> Bool) -> Stream Char -> Bool
598598any p (Stream next0 s0 _len) = loop_any s0
599599 where
@@ -605,7 +605,7 @@ any p (Stream next0 s0 _len) = loop_any s0
605605{-# INLINE [0] any #-}
606606
607607-- | /O(n)/ all @p @xs determines if all characters in the 'Text'
608−-- @xs@ satisify the predicate @p@.
608+-- @xs@ satisfy the predicate @p@.
609609all :: (Char -> Bool) -> Stream Char -> Bool
610610all p (Stream next0 s0 _len) = loop_all s0
611611 where
Data/Text/Lazy.hs+2−2
@@ -852,13 +852,13 @@ concatMap f = concat . foldr ((:) . f) []
852852{-# INLINE concatMap #-}
853853
854854-- | /O(n)/ 'any' @p@ @t@ determines whether any character in the
855−-- 'Text' @t@ satisifes the predicate @p@. Subject to fusion.
855+-- 'Text' @t@ satisfies the predicate @p@. Subject to fusion.
856856any :: (Char -> Bool) -> Text -> Bool
857857any p t = S.any p (stream t)
858858{-# INLINE any #-}
859859
860860-- | /O(n)/ 'all' @p@ @t@ determines whether all characters in the
861−-- 'Text' @t@ satisify the predicate @p@. Subject to fusion.
861+-- 'Text' @t@ satisfy the predicate @p@. Subject to fusion.
862862all :: (Char -> Bool) -> Text -> Bool
863863all p t = S.all p (stream t)
864864{-# INLINE all #-}