Hex

fromStr : Str -> [ Ok I64, Err [InvalidHexStr] ]

Convert a hexadecimal string to an integer with an optional leading negative symbol.

toStr : I64 -> Str

Convert an integer to a hexadecimal string. The output will always be lowercase and will have a leading - if the number is negative, but not a leading + if the number is positive.