4 ms·
> Have to make an explicit cast with a structural type? Surely you can do better, like, say, a trait. Usually, yes. But the only way that's as general as the P
by lmm 12y ago
> Have to make an explicit cast with a structural type? Surely you can do better, like, say, a trait.
Usually, yes. But the only way that's as general as the Python line is to use the structural type.