The async-io-either package

[Tags:bsd3, library]

A way of running any IO type and capturing any exception, maybe, I think...


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4
Dependencies async (>0.2), base (>=4.7 && <5), retry, transformers [details]
License BSD3
Copyright 2017 Sean Chalmers
Author Sean Chalmers
Maintainer sclhiannan@gmail.com
Stability Unknown
Category Error Handling
Home page https://github.com/mankyKitty/async-io-either#readme
Source repository head: git clone https://github.com/mankyKitty/async-io-either
Uploaded Tue Feb 21 02:00:47 UTC 2017 by schalmers
Distributions NixOS:0.1.0.4
Downloads 61 total (61 in the last 30 days)
Votes
1 []
Status Docs available [build log]
Last success reported on 2017-02-21 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for async-io-either

Readme for async-io-either-0.1.0.4

Async IO Either

This is a tiny package that captures a pattern I've been using a lot...

Essentially I am tired of needing something of (IO a) and it so often coming with exceptions that are not indicated in the type. Generally speaking my application, like many others, is just going to throw in the towel when an exception occurs, but I would prefer it if a value was provided. This would then allow me to decide just what sort of tantrum my application will throw.

I've tried to understand the different manners of handling exceptions in Haskell, and I'm sure there is a better or more fitting approach. But this is what I have for now.