3 ms·
People are probably most familiar with them, I think, in the form of Haskell's Maybe monad. (Though that has the extra feature of black-holing computations that
by derefr 12y ago
People are probably most familiar with them, I think, in the form of Haskell's Maybe monad. (Though that has the extra feature of black-holing computations that try to operate on Nothing.)
- Dewie 12y ago> People are probably most familiar with them, I think, in the form of Haskell's Maybe monad. Or just simply "Maybe" ;) https://groups.google.com/forum/#!topic/elm-discuss/1acyOfxvasA https://groups.google.com/forum/#!topic/elm-discuss/1acyOfxv...
- bronxbomber92 12y agoSwift has the "black-holing" as well in the form of either explicitly calling Optional's map method, or the syntactic sugar: myTypeTOpt?.methodOnTypeT()