First, we go through the various types and constructs in the pure fragment of the language. Expressions in the pure fragment can be evaluated and have no side effects, in contrast to the command monad, which embeds effectful, sequenced imperative programs. Note that evaluating an expression can result in an exception being thrown or nontermination, which one might consider effects; but both of these result, semantically, in a value of \bot . Evaluating an expression cannot have side effects in the sense of computing a value successfully while also causing extra effects.
For each type or family of types, we explain typing rules for introduced and elimination forms, as well as related built-in constants.