3 ms·
> Whereas this module is intended both for interfaces (much like ABCs) and implementation re-use (see Rust's "blanket implementations") That's the role typing.
by heavyset_go 5y ago
> Whereas this module is intended both for interfaces (much like ABCs) and implementation re-use (see Rust's "blanket implementations")
That's the role typing.Protocol plays, as well. Protocols are like ABCs, but using structural typing.