until -package:Cabal -package:sparse-linear-algebra package:foundation

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