Issue #331
Instead of classic functions like hexadecimal, octal and binary from megaparsec which doesn't support underscore, new functions were implemented ( hexadecimalP, octalP and binaryP).
In order for those functions to work, I needed to implement a function which will convert a string representation of number in base N into base 10.
Issue #331 Instead of classic functions like
hexadecimal
,octal
andbinary
frommegaparsec
which doesn't support underscore, new functions were implemented (hexadecimalP
,octalP
andbinaryP
).In order for those functions to work, I needed to implement a function which will convert a string representation of number in base N into base 10.
New tests were added to test this bug fix.