Result is the most boring sum type
Explains why the Result/Either type is the fundamental, most abstract sum type in functional programming, and why it's a poor starting point for understanding algebraic data types.
Explains why the Result/Either type is the fundamental, most abstract sum type in functional programming, and why it's a poor starting point for understanding algebraic data types.
Explores implementing an Either type in Fortran for error handling, using a point parsing function as a practical example.
Explains how to use the Swift Either enum for type-safe handling of two possible value types, with a practical example for table view data sources.