
On Sun, Oct 25, 2009 at 4:51 PM, Michael Snoyman
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.
I haven't actually tried writing code with this, just read the api docs. The api makes a lot of sense to me. I'm a Python/Ruby guy. I see Haskell as short like Python, almost fast like C. Your attempt monad thing _makes_ _sense_ to me. One little nit I guess. Python had "string as exception" for awhile, now they discourage that. There seems to be a historical pattern where the right way to throw exceptions changes from throwing strings to throwing real exception objects. Would it be possible to skip the string one here? Are extensible exceptions too cumbersome for some cases? -- Darrin