Question regarding the GHC users manual

Niklas Broberg niklas.broberg at gmail.com
Mon Jan 25 14:46:09 EST 2010


> type family F a b :: * -> *   -- F's arity is 2,
>                              -- although its overall kind is * -> * -> * -> *

I believe what you're missing is that with the definition F a b :: *
-> *, F needs three arguments (of kind *) in order to become kind *.
If F a b :: * -> * as stated, then F a :: * -> * -> * and F :: * -> *
-> * -> *, just like reported.

Cheers,

/Niklas


More information about the Glasgow-haskell-users mailing list