3 ms·
Thanks for the answer. But could you clarify something for me? What's the difference between higher-order functions and higher-kinded types? And, yeah, Java'
by AnimalMuppet 12y ago
Thanks for the answer. But could you clarify something for me? What's the difference between higher-order functions and higher-kinded types?
And, yeah, Java's type system... I'm not going to claim enthusiasm, merely that it seemed adequate for what I wanted it to do.
- dragonwriter 12y ago> But could you clarify something for me? What's the difference between higher-order functions and higher-kinded types? roughly, the relation is: (type constructor):(simple function)::(higher-kinded type):(higher-order function) That is, a higher-kinded type is a type which takes a type constructor as one of its parameters, in the same way that a higher-order function is a function that takes a function as one of its parameters.