kazu-yamamoto/io-choice — pull request #2 by konn (2012-08-19 04:04:21+00:00)
Title: Added a generator for the choice operator for specific exceptions.

I added a macro to generate the choice operator for specific exceptions.
See `examples/derive-test.hs` for usage.

```haskell
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Control.Exception.IOChoice.TH
import Control.Exception

(|||>) :: IO a -> IO a -> IO a
(|||>) = $(newIOChoiceLifted [''ErrorCall, ''IOException, ''ArithException])
```