Extension methods for non-nominal types

Sure a lot of stuff can be tagged on with custom operators and/or wrappers; and Swift's history is littered with many examples including e.g. this more recent one for turning a keypath into a function .

1 Like