horses
horses copied to clipboard
Kind checking data type usage
Currently if we have:
type Maybe a = Just a | Nothing
then we can make another type like
type Wrong = Maybe Int String
This should fail because Maybe only takes one type arg, and this uses two.
We have a kind checker now, this is so close.