Control.Arrow.ArrowExc

hxt-9.3.1.16: A collection of tools for processing XML with Haskell.

Copyright | Copyright (C) 2010 Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt (uwe\@fh-wedel.de)
Stability | experimental
Portability | not portable
Safe Haskell | Safe
Language | Haskell98

Control.Arrow.ArrowExc

Description

The exception arrow class

# Documentation

class (Arrow a, ArrowChoice a, ArrowZero a, ArrowIO a) => ArrowExc a where #

Minimal complete definition

tryA

Methods

tryA :: a b c -> a b (Either SomeException c) #

catchA :: a b c -> a SomeException c -> a b c #

Instances

ArrowExc IOLA # |
Methods tryA :: IOLA b c -> IOLA b (Either SomeException c) # catchA :: IOLA b c -> IOLA SomeException c -> IOLA b c #
ArrowExc (IOSLA s) # |
Methods tryA :: IOSLA s b c -> IOSLA s b (Either SomeException c) # catchA :: IOSLA s b c -> IOSLA s SomeException c -> IOSLA s b c #