4 ms·
Scala has higher kinded types (or, generics over generics). This is amazing (but can take a while to see why/get confortable with). .NET doesn't have this fea
by runT1ME 11y ago
Scala has higher kinded types (or, generics over generics). This is amazing (but can take a while to see why/get confortable with). .NET doesn't have this feature.
- edgyswingset 11y agoThanks, this is what I was hoping someone would write! I searched around a bit about HKT's and although I can't say I understand them, I can see how the ability to do something like provide a constructor over a type could be useful. It feels like it has a lot of use in writing very general-purpose libraries, or perhaps a DSL that can map to a wide variety of different types. Interesting!