until -package:foundation -package:ghc -package:scalpel-core package:Cabal-syntax is:exact

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