Back to Search
Start Over
Comprehending Ringads (keynote)
- Source :
- DBPL
- Publication Year :
- 2019
- Publisher :
- ACM, 2019.
-
Abstract
- List comprehensions are a widely used programming construct, in languages such as Haskell and Python and in technologies such as Microsoft's Language Integrated Query. They generalize from lists to arbitrary monads, yielding a lightweight idiom of imperative programming in a pure functional language. When the monad has the additional structure of a so-called ringad, corresponding to "empty" and "union" operations, then it can be seen as some kind of collection type, and the comprehension notation can also be extended to incorporate aggregations. Ringad comprehensions represent a convenient notation for expressing database queries. The ringad structure alone does not provide a good explanation or an efficient implementation of relational joins; but by allowing heterogeneous comprehensions, involving both bag and indexed table ringads, we can accommodate these too.
Details
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 17th ACM SIGPLAN International Symposium on Database Programming Languages
- Accession number :
- edsair.doi...........b8dfaed1599e37e367e5a40dfca61a5e
- Full Text :
- https://doi.org/10.1145/3315507.3337934