Hello,

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.

Michael

[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/attempt
[2]
http://blog.snoyman.com/2009/10/25/introduction-to-attempt-error-reporting-library/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to