2 ms·
What exactly is wrong with Callable though? The argument and return types can be structural types. It doesn’t really make the function less powerful if you only
by joconde 5y ago
What exactly is wrong with Callable though? The argument and return types can be structural types. It doesn’t really make the function less powerful if you only constrain the input to have the exact interface you need, and nothing more.