on master help sign in
D'oh\!
commit93bee54a0796c5bd09fc541d4adf9f26b0b99156 authorBryan O'Sullivan <bos@serpentine.com> dateWed 3 Dec 2014, 15:35 (12 years ago) parentb1f9bf6
1 file changed+2−2
Data/Text.hs+2−2
Data/Text.hs+2−2
@@ -671,10 +671,10 @@ reverse t = S.reverse (stream t)
671671--
672672-- This function behaves as though it was defined as follows:
673673--
674−--@
674+-- @
675675-- replace needle replacement haystack =
676676-- 'intercalate' replacement ('splitOn' needle haystack)
677−--@
677+-- @
678678--
679679-- As this suggests, each occurrence is replaced exactly once. So if
680680-- @needle@ occurs in @replacement@, that occurrence will /not/ itself