|
|
|
|
|
by fusiongyro
4807 days ago
|
|
Another way to go would be to use some functions that conceal the mechanics of Maybe. For instance: (fromMaybe 0 a) + (fromMaybe 0 b)
This will always produce a number and it's pretty clear why you'd get the one you'd get. |
|