[Haskell] Typo in Network.URI
Graham Klyne
gk at ninebynine.org
Tue Jan 27 10:46:09 EST 2004
I noticed a typo in Network.URI:
[[
hexDigit c | c >= 'A' && c <= 'F' = ord c - ord 'A' + 10
| c >= 'a' && c <= 'F' = ord c - ord 'a' + 10
| otherwise = ord c - ord '0'
]]
I think should be:
[[
hexDigit c | c >= 'A' && c <= 'F' = ord c - ord 'A' + 10
| c >= 'a' && c <= 'f' = ord c - ord 'a' + 10
| otherwise = ord c - ord '0'
]]
(lowercase 'f' in second line)
#g
------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact
More information about the Haskell
mailing list