Re:Haskell's kind system: a primer
by lmm on Thursday October 18, 2018 @08:06AM
(#18247557)
> The only real problem I see is that you could in principle write code that does "kind polymorphic" recursion, which couldn't be compiled away. But that sounds seriously crazy and I see no reason to allow it in the first place...
Wouldn't you want kind-polymorphic recursion for implementing recursion-schemes like patterns at the type level?
Wouldn't you want kind-polymorphic recursion for implementing recursion-schemes like patterns at the type level?