git.iko.soy/typeable/attoparsec
on master help sign in
Fix bitbucket issue #7
commit278b0a102c8becee20d33a08c602dbbb293802b9 authorBryan O'Sullivan <bos@serpentine.com> dateMon 21 Nov 2011, 13:46 (15 years ago) parenta5e090d
1 file changed+1−1
Data/Attoparsec/ByteString/Char8.hs+1−1
Data/Attoparsec/ByteString/Char8.hs+1−1
@@ -347,7 +347,7 @@ hexadecimal = B8.foldl' step 0 `fmap` I.takeWhile1 isHexDigit
347347 where
348348 isHexDigit w = (w >= 48 && w <= 57) ||
349349 (w >= 97 && w <= 102) ||
350− (w >= 65 && w <= 90)
350+ (w >= 65 && w <= 70)
351351 step a w | w >= 48 && w <= 57 = (a `shiftL` 4) .|. fromIntegral (w - 48)
352352 | w >= 97 = (a `shiftL` 4) .|. fromIntegral (w - 87)
353353 | otherwise = (a `shiftL` 4) .|. fromIntegral (w - 55)