until -package:numeric-prelude -package:util package:conferer -is:exact

This utility function run a list of IO actions and returns the first that return a Just, if no one does, returns Nothing