GHC-Libraries needed for HsShellScript

In order to use HsShellScript's exception handling, you'll have to import some and restrict some GHC-libraries (all of which are included in GHC). The following source code will to the trick:

import Prelude hiding (catch)
import IO hiding (catch)
import Control.Exception
import HsShellScript

HsShellScript User Manual main page