until -package:Cabal -package:LambdaHack -package:hedgehog -package:ghc package:base-prelude

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