aivika-transformers-6.1: Transformers for the Aivika simulation library
CopyrightCopyright (c) 2009-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simulation.Aivika.IO.Exception

Description

Tested with: GHC 8.0.1

It provides with exception handling capabilities, where IO is an instance of MonadException.

Orphan instances

MonadException IO Source #

An instance of the type class.

Instance details

Methods

catchComp :: Exception e => IO a -> (e -> IO a) -> IO a Source #

finallyComp :: IO a -> IO b -> IO a Source #

throwComp :: Exception e => e -> IO a Source #