4 ms·
It's difficult to have a conversation with someone using their own terms for well-established concepts. If I understand you correctly, what you're calling "geo
by mietek 13y ago
It's difficult to have a conversation with someone using their own terms for well-established concepts.
If I understand you correctly, what you're calling "geometric polymorphism" is usually called structural typing or subtyping, and what you're calling "generic polymorphism" is usually called duck typing.
Duck typing isn't amenable to static typechecking, so it's not comparable to Haskell's typeclasses.
- mietek 13y agoLooks like I'm behind on my programming language theory research! Typed Racket and soon, Typed Clojure, are actually adding optional static typing to duck-typed languages. Are you doing something similar?