until -package:monad-loops package:basic-prelude

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