Hacker News new | ask | show | jobs
by cnowacek 2923 days ago
Not necessarily. The way that the enumerated type is declared, the associated types of the success and failure values are declared to be normal (not optional). This restricts nil from being passed in as the data or the error.