Other base types: \mathsf {Int}, \mathsf {Text}, \mathsf {Dir}, \mathsf {Key}, \mathsf {Actor} [001X]
Swarm has various other base types such as \mathsf {Int}, \mathsf {Text}, \mathsf {Dir}, \mathsf {Key}, and \mathsf {Actor}. All of these have various types of literals as well as built-in functions for manipulating them. As just one example, the addition operator is a built-in constant with the type \{\mathsf {Exc}(+)\} \Rightarrow \mathsf {Int} \to \mathsf {Int} \to \mathsf {Int}. The details of all the other introduction forms and operators, though important, are largely straightforward and not central to the story here.