:: String -> Int -package:hledger-lib -package:speculate -package:vty -package:locators -package:dbus -package:Cabal package:numeric-prelude

Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.