Is Alternative a Wrong Abstraction for Handling Failures?

Link to my post

This post:

  • discusses how Alternative laws impact instance ability to store error information
  • provides examples of how some Alternative instances can get a programmer in trouble
  • provides a ‘blueprint’ instance with strong ability to preserve error information
    (ErrWarn or Either [e] ([e],_))

I would be grateful for comments especially if you have seen a similar instance somewhere on hackage.

2 Likes