withState package:hledger-lib

Run a stateful parser with some initial state on a text. See also: runTextParser, runJournalParser.