File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ breakByte c p = case elemIndex c p of
10721072--  |  Returns the longest (possibly empty) suffix of elements which __do not__ 
10731073--  satisfy the predicate and the remainder of the string. 
10741074-- 
1075- --  'breakEnd' @p@ is equivalent to @'spanEnd' (not . p)@ and to @('takeWhileEnd ' (not . p) &&& 'dropWhileEnd ' (not . p))@. 
1075+ --  'breakEnd' @p@ is equivalent to @'spanEnd' (not . p)@ and to @('dropWhileEnd ' (not . p) &&& 'takeWhileEnd ' (not . p))@. 
10761076-- 
10771077breakEnd  ::  (Word8  ->  Bool  ) ->  ByteString  ->  (ByteString , ByteString )
10781078breakEnd  p ps =  splitAt  (findFromEndUntil p ps) ps
@@ -1117,7 +1117,7 @@ spanByte c ps@(BS x l) =
11171117--  |  Returns the longest (possibly empty) suffix of elements 
11181118--  satisfying the predicate and the remainder of the string. 
11191119-- 
1120- --  'spanEnd' @p@ is equivalent to @'breakEnd' (not . p)@ and to @('takeWhileEnd ' p &&& 'dropWhileEnd ' p)@. 
1120+ --  'spanEnd' @p@ is equivalent to @'breakEnd' (not . p)@ and to @('dropWhileEnd ' p &&& 'takeWhileEnd ' p)@. 
11211121-- 
11221122--  We have 
11231123-- 
Original file line number Diff line number Diff line change @@ -989,7 +989,7 @@ break f = break'
989989--  |  Returns the longest (possibly empty) suffix of elements which __do not__ 
990990--  satisfy the predicate and the remainder of the string. 
991991-- 
992- --  'breakEnd' @p@ is equivalent to @'spanEnd' (not . p)@ and to @('takeWhileEnd ' (not . p) &&& 'dropWhileEnd ' (not . p))@. 
992+ --  'breakEnd' @p@ is equivalent to @'spanEnd' (not . p)@ and to @('dropWhileEnd ' (not . p) &&& 'takeWhileEnd ' (not . p))@. 
993993-- 
994994--  @since 0.11.2.0 
995995breakEnd  ::  (Word8  ->  Bool  ) ->  ByteString  ->  (ByteString , ByteString )
@@ -1059,7 +1059,7 @@ span p = break (not . p)
10591059--  |  Returns the longest (possibly empty) suffix of elements 
10601060--  satisfying the predicate and the remainder of the string. 
10611061-- 
1062- --  'spanEnd' @p@ is equivalent to @'breakEnd' (not . p)@ and to @('takeWhileEnd ' p &&& 'dropWhileEnd ' p)@. 
1062+ --  'spanEnd' @p@ is equivalent to @'breakEnd' (not . p)@ and to @('dropWhileEnd ' p &&& 'takeWhileEnd ' p)@. 
10631063-- 
10641064--  We have 
10651065-- 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments