Mono Types — First-Class Containers for Datalog
Published in ECOOP, 2025
We propose mono types, a new abstraction for programming Datalog. Mono types behave like first-class containers that can be stored in relations and to which elements can be added decentrally. But, mono types are more than just containers: They provide a read operation that can yield any result as long as it monotonically grows with each added element and is independent of the order in which elements are added to the container. This design permits a wide range of mono types (e.g., sets, maps, and aggregations), yet guarantees mono types can be integrated into Datalog without jeopardizing Datalog’s least fixed-point semantics.
Recommended citation: Runqing Xu, David Klopp, Sebastian Erdweg. (2025). "Mono Types — First-Class Containers for Datalog." ECOOP (2025) . https://doi.org/10.4230/LIPIcs.ECOOP.2025.5