Using `some` how can I get identical protection to constrained generics for returning types?

Every use of some introduces a new independent generic parameter, so it's not the best tool for communicating cases where there is a relationship required between two parameters or returns. This is one time when it's better to use explicitly named generic parameters.

6 Likes