until -package:sparse-linear-algebra -package:free -package:ghc package:dimensional

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