on master help sign in
D'oh\!
93bee54Bryan O'Sullivan
Data/Text.hs+2−2
@@ -671,10 +671,10 @@ reverse t = S.reverse (stream t)
671--
671--
672-- This function behaves as though it was defined as follows:
672-- This function behaves as though it was defined as follows:
673--
673--
674−--@
674+-- @
675-- replace needle replacement haystack =
675-- replace needle replacement haystack =
676-- 'intercalate' replacement ('splitOn' needle haystack)
676-- 'intercalate' replacement ('splitOn' needle haystack)
677−--@
677+-- @
678--
678--
679-- As this suggests, each occurrence is replaced exactly once. So if
679-- As this suggests, each occurrence is replaced exactly once. So if
680-- @needle@ occurs in @replacement@, that occurrence will /not/ itself
680-- @needle@ occurs in @replacement@, that occurrence will /not/ itself