[Haskell-cafe] ANN: attempt-0.0.0

Michael Snoyman michael at snoyman.com
Sun Oct 25 16:51:43 EDT 2009


I'm happy to announce the first release of the attempt package[1]. 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 [2] 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.


[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/attempt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091025/c8324140/attachment.html

More information about the Haskell-Cafe mailing list