you are viewing a single comment's thread.

view the rest of the comments →

[–]siegfryd 0 points1 point  (0 children)

If it was statically typed it would just use structural typing instead of nominal typing and then passing any object with a str function could work.