4 ms·
Ok, so in a default non-nullable type system, nullable types are equivalent to maybes.
by mhaymo 13y ago
Ok, so in a default non-nullable type system, nullable types are equivalent to maybes.
- pestaa 13y agoAs far as I can tell, you are right, although in my view maybes are one step ahead: they form a monad. (Not saying there's anything stopping you from doing the same thing with nullables, but still they're a slightly different concept.)