[Haskell-cafe] ANN: attempt-0.0.0
michael at snoyman.com
Sun Oct 25 16:51:43 EDT 2009
I'm happy to announce the first release of the attempt package. It is
meant to solve the "how should I represent a failure" issue. It is based on
extensible exceptions and provides a monad, a monad transformers and helper
functions to replace many standard, unsafe functions like head. This release
should be considered unstable as the API is still open to some change, but
is quite usable.
I have a blog post  which includes an example walk through of how to use
this library. It covers most of what is available.
Comments are most welcome. I would like this to be a suitable replacement
for the ubiquitous Maybe, (Either String) and ad-hoc Result data types so
often used to report a failure. I'd be very happy to improve the package for
the general community.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe