Proposal: add Bounded instances for Maybe and Either
Gershom B
gershomb at gmail.com
Tue May 8 05:26:18 UTC 2018
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 :-)
Cheers,
Gershom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180508/31d5d9b7/attachment.html>
More information about the Libraries
mailing list