Re:Go vs. Swift [pdf]
by premium-concern on Friday January 20, 2017 @12:20PM
(#13445247)
Consider two functions (excuse my Scala):
With Optional, you receive different results depending on whether you call map twice, or combine the functions first:
This is incorrect and violates the functor law.
[ Parent
| on HN ]
There are no comments on this comment yet.