Hacker News
points by kazinator 1 day ago | 0 comments
Ok and Err are "thingies" which are in the type system, which give rise to distinctions that allow for compile-time diagnostics. They are part of the type.

Ok and Err are not just type constructors because they appear on the left hand side in pattern matching: they "do" matching and destructuring also.

Aún no hay comentarios.
Hacker News