try package:lifted-base

Generalized version of try. Note, when the given computation throws an exception any monadic side effects in m will be discarded.
Generalized version of tryPutMVar.
Generalized version of tryReadMVar.
Generalized version of tryTakeMVar.
Generalized version of tryJust. Note, when the given computation throws an exception any monadic side effects in m will be discarded.