:: String -> Int is:exact -package:string-conversions -package:speculate -package:ghc-boot -package:hledger-lib -package:base -package:containers package:hxt

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