@@ -668,10 +668,10 @@ reverse = rev Empty
668668--
669669-- This function behaves as though it was defined as follows:
670670--
671−--@
671+-- @
672672-- replace needle replacement haystack =
673673-- 'intercalate' replacement ('splitOn' needle haystack)
674−--@
674+-- @
675675--
676676-- As this suggests, each occurrence is replaced exactly once. So if
677677-- @needle@ occurs in @replacement@, that occurrence will /not/ itself