In the context of logic, especially Higher‑Order‑Logic and Calculus‑of‑Construction, what is a kind and how does it relates to and differs from a type?
My raw guess if that a kind is the higher level type of a type. Is that it? If not, so what's a kind? If yes, is this as simple as it looks or are there more elaborated things to know about the relation between both?
Update: same question with sorts (or may be they are synonymous?).
Yes, your guess about kinds is correct. According to Types and Programming Languages, kinds are "the types of types".
From the same source: