:: String -> Int -package:hledger-lib -package:speculate is:exact -package:ViennaRNAParser -package:gpolyline -package:monads-tf package:hxt

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