on master help sign in
Fix haddock failure :-(
02f865dBryan O'Sullivan
Data/Text/Lazy.hs+2−2
@@ -668,10 +668,10 @@ reverse = rev Empty
668--
668--
669-- This function behaves as though it was defined as follows:
669-- This function behaves as though it was defined as follows:
670--
670--
671−--@
671+-- @
672-- replace needle replacement haystack =
672-- replace needle replacement haystack =
673-- 'intercalate' replacement ('splitOn' needle haystack)
673-- 'intercalate' replacement ('splitOn' needle haystack)
674−--@
674+-- @
675--
675--
676-- As this suggests, each occurrence is replaced exactly once. So if
676-- As this suggests, each occurrence is replaced exactly once. So if
677-- @needle@ occurs in @replacement@, that occurrence will /not/ itself
677-- @needle@ occurs in @replacement@, that occurrence will /not/ itself