until -package:numeric-prelude -package:base-prelude -package:hosc -package:numhask -package:hledger-web -package:extra -package:free -package:intro -package:singletons-base -package:scalpel-core package:selective

Keep running an effectful computation until it returns a Right value, collecting the Left's using a supplied Monoid instance.