until -package:Cabal -package:LambdaHack -package:ghc-lib-parser package:foundation

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