Proposal: add Bounded instances for Maybe and Either

Gershom B gershomb at
Tue May 8 05:26:18 UTC 2018

On May 8, 2018 at 1:06:24 AM, Ivan Lazar Miljenovic (ivan.miljenovic at 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 :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list