Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 4
    Somehow I'm not surprised to see your name pop up here! Thanks, I didn't know this idiom. Commented Sep 6, 2012 at 23:48
  • 6
    When you said "boilerplate heavy" I was prepared for something much worse ;-) Java can be pretty bad with boilerplate, sometimes. Commented Sep 7, 2012 at 9:07
  • but this does not compose : you have no way to specialize type A without having to assert it through a cast (I think) Commented Apr 17, 2014 at 14:09
  • This unfortunately seems unable to represent some more complex sum types, eg Either. See my question Commented Jan 8, 2018 at 1:44