until -package:hedgehog -package:classy-prelude package:Cabal-syntax

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