Comment Comment by Groxx Sum types are what give you compile-time safety over those options. Run-time safety and developer-intent-signaling is entirely feasible with just generics. parent Groxx 6 years ago