until -package:ghc-lib-parser -package:Cabal package:base

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