OxCaml logo Jane Street logo

Kinds of types

This page describes how we compute the kind of both built-in types and user-defined types. You may want to read the overview of the kind system first.

Kinds of user-defined types

Kinds of types in the type algebra

Types formed from the type algebra are also assigned kinds, according to the following algorithm.