aivika-transformers-5.7: 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
LanguageHaskell2010

Simulation.Aivika.IO.Exception

Contents

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.

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 #