Answers are grounded in this paper and cite their sources.
While programming languages typically know only singulars (single values, single functions), the problem domains addressed by most programs abound with plurals (two parents, any number of children, etc.). Rather than encoding plurals as singulars using lists or other containers, we extend the lambda calculus to strings of terms, thereby catering for the occurrence of an arbitrary number of terms in the place of one. Since “arbitrary number” includes none, the resulting calculus naturally covers both partial functions and general relations. We exploit coverage of the former for introducing elementary mappings, or maplets, strings of which amount to finite functions or relations that can not only be applied, but that also serve the natural representation of relational data. To gain some control over the use of strings, we introduce the grammatical category of numerus as an abstraction of the length — rather than the type — of a value, and mapping constraints as abstractions of the nature of mappings, i.e., whether they are total or partial functions, or general relations. With this, we arrive at a calculus that strictly generalizes the simply typed lambda calculus, adding plurals in a type- and number-safe manner without requiring parametric polymorphism or other more advanced typing features. With this generalization comes a distinction between singular and plural abstractions, which live side-by-side in the same calculus, contrasting the commitment to either singular or plural semantics of applications (also dubbed call-time vs. runtime choice) suggested by the works of others.
No takes yet. Share an insight, caveat, or question.
Friedrich Steimann (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: