The docs for digitToInt say that it throws when it doesn't.
philderbeast opened this issue · 2 comments
philderbeast commented
The docs for digitToInt say that it throws when it doesn't ...
Both upper- and lower-case A through F are converted as well, to 10..15.
Anything else throws an exception
> import Data.Char.Unicode
> :t digitToInt
Char -> Maybe Int
> digitToInt 'G'
Nothing
cdepillabout commented
@philderbeast Thanks for reporting this. I copied the documentation from the Haskell module and I must have missed that.
Would you be able to send a PR fixing it?
philderbeast commented
The updated docs on Pursuit.