on master help sign in
Fiddling with white space.

--HG-- extra : convert_revision : d7b52ebd45d6a31c849ad259d338d15de9be1e8b

commitf35f5f4aafe1de3d42af63b7543c4a17b4344506 authorBryan O'Sullivan <bos@serpentine.com> dateFri 9 Oct 2009, 04:12 (17 years ago) parent42b89e6
1 file changed+3−3
Data/Text/Lazy.hs+3−3
Data/Text/Lazy.hs+3−3
@@ -838,13 +838,13 @@ break :: Text -> Text -> (Text, Text)
838838break pat src
839839 | null pat = emptyError "break"
840840 | otherwise = case indices pat src of
841− [] -> (src, empty)
841+ [] -> (src, empty)
842842 (x:_) -> go x src
843843 where
844844 go _ Empty = (empty, empty)
845845 go x (Chunk c@(T.Text arr off len) cs)
846− | y >= len = let (h,t) = go (x-fromIntegral len) cs
847− in (Chunk c h, t)
846+ | y >= len = let (h,t) = go (x-fromIntegral len) cs
847+ in (Chunk c h, t)
848848 | otherwise = (chunk (textP arr off y) empty,
849849 chunk (textP arr (off+y) (len-y)) cs)
850850 where y = fromIntegral x