I have a new paper with @mwillsey! "Finite Functional Programming" (https://arxi...
rntz @rntz@recurse.social
I have a new paper with @mwillsey!
"Finite Functional Programming" (https://arxiv.org/abs/2604.26161) combines functional programming with relational/tensor algebra using functions of finite support: Datalog relations are finite boolean functions; tensors are finite real-valued funs. We ensure finite support of λ-terms using graded effects to check grounding, and relevance types (the "use at least once" cousin of linearity) to check relational/tensor operations preserve "absence" appropriately.