:: [a] -> (a -> Maybe b) -> [b] package:hosc

Repeat action until f does not give Nothing when applied to result.