News for hackers. Stuff that matters.
Re:Exploding Error Codes (C++) by gaius on Wednesday November 10, 2010 @06:17AM (#1889917)
This is what the Maybe monad is for :-)
Re:Exploding Error Codes (C++) by masklinn on Wednesday November 10, 2010 @07:00AM (#1889997)
Or the `Either` monad, or union types/ADT in general, `Maybe` is just a pretty basic application of those.