decimal package:attoparsec

Parse and decode an unsigned decimal number.
Parse and decode an unsigned hexadecimal number. The hex digits 'a' through 'f' may be upper or lower case. This parser does not accept a leading "0x" string.