@@ -1840,10 +1840,10 @@ isInfixOf infx stream = do
18401840isSubsequenceOf :: (Eq a, IsStream t, Monad m) => t m a -> t m a -> m Bool
18411841isSubsequenceOf m1 m2 = D.isSubsequenceOf (toStreamD m1) (toStreamD m2)
18421842
1843−-- | Strip prefix if present and tell whether it was stripped or not. Returns
1844−-- 'Nothing' if the stream does not start with the given prefix, stripped
1845−-- stream otherwise. Returns @Just nil@ when the prefix is the same as the
1846−-- stream.
1843+-- | @stripPrefix prefix stream@ strips @prefix@ from @stream@ if it is a
1844+-- prefix of stream. Returns 'Nothing' if the stream does not start with the
1845+-- given prefix, stripped stream otherwise. Returns @Just nil@ when the prefix
1846+-- is the same as the stream.
18471847--
18481848-- Space: @O(1)@
18491849--