6 ms·
Frege has typeclasses (Haskell 2010). Whoever told you it's impossible in .NET is probably wrong. Don't you have interfaces in C# ? But you don't even need int
by voxfrege 11y ago
Frege has typeclasses (Haskell 2010).
Whoever told you it's impossible in .NET is probably wrong. Don't you have interfaces in C# ?
But you don't even need interfaces. Strictly speaking, unless you use typeclasses with polymorphic recursion, you don't need a runtime representation for typeclasses at all.
- ta_donk_gt 11y ago> Whoever told you it's impossible in .NET is probably wrong. I think brianberns is probably referring to this: https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/2228766-add-higher-order-generics-to-f-type-classes https://visualstudio.uservoice.com/forums/121579-visual-stud...