Generic protocols are unnecessary. A generic function could be modeled as a protocol with a generic callAsFunction requirement, which would in fact be something our structural function types don’t support today which protocols could.
Generic protocols are unnecessary. A generic function could be modeled as a protocol with a generic callAsFunction requirement, which would in fact be something our structural function types don’t support today which protocols could.