hex -is:module

hex = base 16
Render an integer using hexadecimal notation. (No leading 0x is added.) Has a specialized implementation.
Render an integer using hexadecimal notation. (No leading "0x" is added.)
Show a number in hex, without prefix, or types.
Convert strings into hexadecimal and back. Convert strings into hexadecimal and back.
Hexadecimal formatting with maximum-bit length
Common Parsers Parse at least one hex digit.
Render an integral type in hexadecimal.
Newtype wrapper to parse and produce integral numbers in hexadecimal format
Convert strings into hexadecimal and back.
Basic type
>>> 255 :: Hex
0x0000_0000_0000_00ff
Read a hexadecimal integer, consisting of an optional leading "0x" followed by at least one hexadecimal digit. Input is consumed until a non-hex-digit or end of string is reached. This function is case insensitive. This function does not handle leading sign characters. If you need to handle signed input, use signed hexadecimal. Note: For fixed-width integer types, this function does not attempt to detect overflow, so a sufficiently long input may give incorrect results. If you are worried about overflow, use Integer for your result type.
Parses a hexadecimal digit (a digit or a letter between 'a' and 'f' or 'A' and 'F'). Returns the parsed character.
Parses a non-negative whole number in the hexadecimal system. The number should be prefixed with "x" or "X". Returns the value of the 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.
Generates an ASCII hexit: '0'..'9', 'a'..'f', 'A'..'F'
Parse a hexadecimal digit, i.e. between “0” and “9”, or “a” and “f”, or “A” and “F”.