:: String -> Int -package:hledger-lib -package:speculate -package:polysemy -package:locators -package:vty -package:ghc-boot package:hxt

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