:: String -> Int -package:hledger-lib -package:speculate -package:monads-tf -package:dbus -package:safe -package:string-conversions -package:vty package:hxt

convert a string of hexadecimal digits into an Int
convert a string of digits into an Int