In Idris, why do we need to ascribe the kind to type parameters when they have already been defined elsewhere?

前端 未结 0 1233
北恋
北恋 2021-01-22 15:55

Why do we write f : Type -> Type instead of just f below - is it not inferred from Functor f?:

interface Functor f =>         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题