until -package:foundation -package:ghc -package:extra -package:hledger-web package:yesod-paginator

until p f yields the result of applying f until p holds.