until -package:foundation -package:ghc -package:protolude package:hedgehog

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