on master help sign in
Fix some documentation errors.

--HG-- extra : convert_revision : 90ab19806005c81213446da311e60ba9c38b4947

commit40452fc3f2b885d9e1f9121af52e7152aa89f2ce authorBryan O'Sullivan <bos@serpentine.com> dateFri 9 Oct 2009, 06:34 (17 years ago) parent7f28cf9
2 files changed+2−2
Data/Text.hs+1−1 Data/Text/Lazy.hs+1−1
Data/Text.hs+1−1
@@ -400,7 +400,7 @@ reverse :: Text -> Text
400400reverse t = S.reverse (stream t)
401401{-# INLINE reverse #-}
402402
403−-- | /O(m*n)/ Replace every occurrence of one substring with another.
403+-- | /O(m+n)/ Replace every occurrence of one substring with another.
404404replace :: Text -- ^ Text to search for
405405 -> Text -- ^ Replacement text
406406 -> Text -- ^ Input text
Data/Text/Lazy.hs+1−1
@@ -445,7 +445,7 @@ reverse = rev Empty
445445 where rev a Empty = a
446446 rev a (Chunk t ts) = rev (Chunk (T.reverse t) a) ts
447447
448−-- | /O(m)*O(n)/ Replace every occurrence of one substring with another.
448+-- | /O(m+n)/ Replace every occurrence of one substring with another.
449449replace :: Text -- ^ Text to search for
450450 -> Text -- ^ Replacement text
451451 -> Text -- ^ Input text