pith. sign in

arxiv: 1209.1011 · v1 · pith:ASGKLAHAnew · submitted 2012-09-05 · 💻 cs.DB · math.CT

Kleisli Database Instances

classification 💻 cs.DB math.CT
keywords databasedifferentgeneralizedmonadsvaluescontainensuresinstances
0
0 comments X
read the original abstract

We use monads to relax the atomicity requirement for data in a database. Depending on the choice of monad, the database fields may contain generalized values such as lists or sets of values, or they may contain exceptions such as various types of nulls. The return operation for monads ensures that any ordinary database instance will count as one of these generalized instances, and the bind operation ensures that generalized values behave well under joins of foreign key sequences. Different monads allow for vastly different types of information to be stored in the database. For example, we show that classical concepts like Markov chains, graphs, and finite state automata are each perfectly captured by a different monad on the same schema.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.