[Haskell-beginners] :kind (->) - What do the question marks imply?

Amitava Shee amitava.shee at gmail.com
Thu Mar 24 17:21:57 CET 2011


Hello Haskell gurus,

I am trying to understand "kind"

Prelude> :k Maybe
Maybe :: * -> *
Prelude> :k (->)
(->) :: ?? -> ? -> *

What are the question marks? Why are they different from *? How is this
related to rank-2 polymorphism?

Thanks in advance,

Regards,
Amitava Shee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110324/2e095b59/attachment.htm>


More information about the Beginners mailing list