You are right about the ambiguity in generic programming. I don't know what to do about that since the larger audience is unaware of the Haskell/Shapeless meaning.
I would at least mention the double meaning since Shapeless is a big part of many advanced FP libraries in Scala and it was definitely something that tripped me up when I first learned about it.
I acknowledge the point about types but am not inclined to change that for pedagogical reasons
Perhaps it would make sense to explain that types are the "values"/terms of kinds. Currently I find the entry for kind not very intuitive to understand.
View all comments
Show parent comment
3
u/null_was_a_mistake Dec 24 '19
I would at least mention the double meaning since Shapeless is a big part of many advanced FP libraries in Scala and it was definitely something that tripped me up when I first learned about it.
Perhaps it would make sense to explain that types are the "values"/terms of kinds. Currently I find the entry for kind not very intuitive to understand.