catch package:polysemy

Recover from an error that might have been thrown in the higher-order action given by the first argument by passing the error to the handler given by the second argument.
Recover from an error that might have been thrown in the higher-order action given by the first argument by passing the error to the handler given by the second argument.
The function catchJust is like catch, but it takes an extra argument which is an exception predicate, a function which selects which type of exceptions we're interested in.