Papers
Topics
Authors
Recent
Search
2000 character limit reached

Finite Functional Programming

Published 28 Apr 2026 in cs.PL | (2604.26161v1)

Abstract: We unify functional and logic programming by treating predicatesas functions equipped with their support: the set of inputs whose output is nonzero. Datalog, for instance, is a language of finitely supported boolean functions. Finite support allows representing functions as input-output tables. Generalizing from boolean functions to other pointed sets neatly handles aggregation and weighted logic programming. We refer to the combination of finitely supported functions, represented as data, with higher order functions, represented as code, as finite functional programming. We give a simple type system to check finite support, using graded effects to check variable grounding and relevance types to model pointed sets.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 5 tweets with 84 likes about this paper.

HackerNews

  1. Finite Functional Programming (3 points, 0 comments) 

Reddit

  1. Finite Functional Programming (36 points, 1 comment)