conference paper · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 2013
A practical theory of language-integrated query
James Cheney, Sam Lindley, Philip L. Wadler
Cited by 81Open access
Abstract
Language-integrated query is receiving renewed attention, in part because of its support through Microsoft's LINQ framework. We present a practical theory of language-integrated query based on quotation and normalisation of quoted terms. Our technique supports join queries, abstraction over values and predicates, composition of queries, dynamic generation of queries, and queries with nested intermediate data. Higher-order features prove useful even for constructing first-order queries. We prove a theorem characterising when a host query is guaranteed to generate a single SQL query. We present experimental results confirming our technique works, even in situations where Microsoft's LINQ framework either fails to produce an SQL query or, in one case, produces an avalanche of SQL queries.
Cite this paper
Cheney, J., Lindley, S., & Wadler, P. L. (2013). A practical theory of language-integrated query. ACM SIGPLAN International Conference on Functional Programming (ICFP), 403–416. https://doi.org/10.1145/2500365.2500586
Cheney, James, et al. “A practical theory of language-integrated query.” ACM SIGPLAN International Conference on Functional Programming (ICFP), 2013, pp. 403–16, https://doi.org/10.1145/2500365.2500586.
Cheney, James, Sam Lindley, and Philip L. Wadler. 2013. “A practical theory of language-integrated query.” ACM SIGPLAN International Conference on Functional Programming (ICFP): 403–16. https://doi.org/10.1145/2500365.2500586.
Cheney, J., Lindley, S. and Wadler, P.L. (2013) ‘A practical theory of language-integrated query’, ACM SIGPLAN International Conference on Functional Programming (ICFP), pp. 403–416. Available at: https://doi.org/10.1145/2500365.2500586.
@article{cheney2013practical,
title = {{A practical theory of language-integrated query}},
author = {Cheney, James and Lindley, Sam and Wadler, Philip L.},
journal = {ACM SIGPLAN International Conference on Functional Programming (ICFP)},
pages = {403--416},
year = {2013},
doi = {10.1145/2500365.2500586}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.
Related papers
The essence of language-integrated query
James Cheney, Sam Lindley, Philip L. Wadler · 2013
Cited by 1
Language-integrated query with ordering, grouping and outer joins (poster paper)
Tatsuya Katsushima, Oleg Kiselyov · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · 2016
Cited by 2
Finally, safely-extensible and efficient language-integrated query
Kenichi Suzuki, Oleg Kiselyov, Yukiyoshi Kameyama · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · 2016
Cited by 20
Effective quotation: relating approaches to language-integrated query
James Cheney, Sam Lindley, Gabriel Radanne et al. · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · 2014
Cited by 13Open access
Introducing Language-Integrated Query (LINQ)
Sandeep Chanda, Damien Foggon · Apress eBooks · 2013
Cited by 0
Sound and Efficient Language-Integrated Query
Oleg Kiselyov, Tatsuya Katsushima · Lecture notes in computer science · 2017
Cited by 11
The optics of language-integrated query
J. López-González, Juan M. Serrano · Science of Computer Programming · 2020
Cited by 0Open access