[commit: packages/bytestring] master: Fix markup of identifier link and a typo (#118) (a1c6a8b)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:32:12 UTC 2017


Repository : ssh://git@git.haskell.org/bytestring

On branch  : master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/a1c6a8b09125b77cc179c14da5837f1cfc9d75bd

>---------------------------------------------------------------

commit a1c6a8b09125b77cc179c14da5837f1cfc9d75bd
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Sun Apr 16 01:49:17 2017 -0700

    Fix markup of identifier link and a typo (#118)
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

a1c6a8b09125b77cc179c14da5837f1cfc9d75bd
 Data/ByteString.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Data/ByteString.hs b/Data/ByteString.hs
index 79b96d5..1d8475b 100644
--- a/Data/ByteString.hs
+++ b/Data/ByteString.hs
@@ -565,7 +565,7 @@ foldr1 f ps
     | otherwise      = foldr f (unsafeLast ps) (unsafeInit ps)
 {-# INLINE foldr1 #-}
 
--- | 'foldr1\'' is a variant of 'foldr1', but is strict in the
+-- | 'foldr1'' is a variant of 'foldr1', but is strict in the
 -- accumulator.
 foldr1' :: (Word8 -> Word8 -> Word8) -> ByteString -> Word8
 foldr1' f ps
@@ -1413,7 +1413,7 @@ findSubstring pat src
 
 {-# DEPRECATED findSubstring "findSubstring is deprecated in favour of breakSubstring." #-}
 
--- | Find the indexes of all (possibly overlapping) occurances of a
+-- | Find the indexes of all (possibly overlapping) occurences of a
 -- substring in a string.
 --
 findSubstrings :: ByteString -- ^ String to search for.



More information about the ghc-commits mailing list