Proposal: add Bounded instances for Maybe and Either
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Tue May 8 06:31:06 UTC 2018
On 8 May 2018 at 15:26, Gershom B <gershomb at gmail.com> wrote:
> On May 8, 2018 at 1:06:24 AM, Ivan Lazar Miljenovic
> (ivan.miljenovic at gmail.com) wrote:
>
>
> Except these may be surprising to people; e.g. someone may expect that
> `minBound = Right minBound` as well. Though as Maybe and Either don't
> have Enum instances this may be less of an issue.
>
>
> Good point — while we’re at it, we should add the Enum instances as well :-)
In that case... when do you switch over from Left to Right?
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com
More information about the Libraries
mailing list