:: String -> Int -package:hledger-lib -package:speculate -package:vty -package:locators -package:string-conversions -is:exact -package:polysemy -package:ghc package:hxt
convert a string of hexadecimal digits into an Int
convert a string of digits into an Int