2 ms·Structural subtyping can be based on attributes a la Python’s Protocols.by throwaway894345 7y agoStructural subtyping can be based on attributes a la Python’s Protocols.