until -package:foundation -package:hspec -package:utility-ht -package:ghc package:classy-prelude

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