Anatomy of an algebra

Menestret Martin on February 21, 2019

[Check my articles on my blog here] I will try to group here, in an anatomy atlas, basic notions of functional programming that I find myself expl... [Read Full]
Editor guide


Well the 4 values you listed, wrapped in a Right, are the Right part of the Either[Boolean, Either[Boolean, Boolean]]]:


Then you have the Left part of the Either[Boolean, Either[Boolean, Boolean]]] which are the following values:


Which makes 6 values, is that ok for you ?


No, it was a good question, maybe I should have listed all the values to make my point. Indeed if we had been working with (Either[Boolean], Either[Either[Boolean]]) we would have had 8 values !

Thanks for you question.

Code of Conduct Report abuse