until package:cabal-install-solver

until p f yields the result of applying f until p holds.
O(N). Return the prefix of values ending with the first element that satisfies p, or all elements if none satisfy p.