Re:Confession of a Haskell Hacker
by applicative on Monday July 09, 2012 @11:55AM
(#4218726)
It doesn't affect your objection to MaleKitten but not all types are occupied in Haskell. You are thinking of kind * By contrast,
{-#LANGUAGE DataKinds#-}
a :: 'Nothing
a = a
and {-#LANGUAGE MagicHash#-}
import GHC.Prim
a :: Int#
a = a
don't typecheck, though I cant say I understand the ins and outs of the latter.
http://okmij.org/ftp/Haskell/impredicativity-bites.html
The GADT example no longer seems to work, so changes to GADT type checking might have eliminated it, but the type family one still does.