Closed
Description
Right now add on two Options effectively treats a None
as a Some(Zero::zero())
, which is:
- Unnecessary because
Some(Zero::zero())
is already a valid value, why duplicate it's meaning withNone
? - Contrary to the way the
Maybe
Monad in Haskell works: If both values are aSome
, add them, else returnNone
.
Metadata
Metadata
Assignees
Labels
No labels