until -package:singletons -package:utility-ht -package:rebase -package:ghc package:base-compat

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