Re:What is wrong with NULL
by dragonwriter on Monday August 31, 2015 @05:18PM
(#10149145)
> We don't need to get rid of null, we need more, type-specific and context-carrying nulls: types need a way to signal various error states via an enumeration of instance constants that carry the error state in a type-compatible manner without some syntactically crappy mechanism like Maybe.
Sounds like you want to go a step beyond Maybe to Either.
Sounds like you want to go a step beyond Maybe to Either.