2 ms·
Both F# and C# can do ad-hoc polymorphism - I use it in my language-ext library [1], the library is C# but the principle is the same for F#. It's not idiomatic
by louthy 8y ago
Both F# and C# can do ad-hoc polymorphism - I use it in my language-ext library [1], the library is C# but the principle is the same for F#. It's not idiomatic (or pretty), but it's possible if needed. Higher-kinds is the killer missing feature.
[1] https://github.com/louthy/language-ext#ad-hoc-polymorphism https://github.com/louthy/language-ext#ad-hoc-polymorphism