on master help sign in
Make a variable local
commit2d8284f6c67583b71ecece734239e7e737da5a87 authorBryan O'Sullivan <bos@serpentine.com> dateSat 29 Sep 2012, 19:52 (14 years ago) parent09fe7f1
1 file changed+1−1
Data/Text/Search.hs+1−1
Data/Text/Search.hs+1−1
@@ -80,7 +80,7 @@ indices _needle@(Text narr noff nlen) _haystack@(Text harr hoff hlen)
8080 delta | nextInPattern = nlen + 1
8181 | c == z = skip + 1
8282 | otherwise = 1
83− nextInPattern = mask .&. swizzle (hindex' (i+nlen)) == 0
83+ where nextInPattern = mask .&. swizzle (hindex' (i+nlen)) == 0
8484 !(mask :* skip) = buildTable 0 0 (nlen-2)
8585 scanOne c = loop 0
8686 where loop !i | i >= hlen = []