Abstract
We present CORELINKS, a call-by-value variant of System F with row polymorphism, row-based effect types, and implicit subkinding, which forms the basis for the Links web programming language. We focus on extensions to CORELINKS for database programming. The effect types support abstraction over database queries, while ensuring that queries are translated predictably to idiomatic and efficient SQL at run-time. Subkinding statically enforces the constraint that queriesmust return a list of records of base type. Polymorphism over the presence of record labels supports abstraction over database queries, inserts, deletes and updates.
Original language | English |
---|---|
Title of host publication | TLDI '12: Proceedings of the 8th ACM SIGPLAN workshop on Types in language design and implementation |
Publisher | Association for Computing Machinery |
Pages | 91-102 |
Number of pages | 12 |
ISBN (Print) | 9781450311205 |
DOIs | |
Publication status | Published - Jan 2012 |
Event | 8th ACM SIGPLAN Workshop on Types in Language Design and Implementation 2012 - Philadelphia, United States Duration: 28 Jan 2012 → 28 Jan 2012 |
Conference
Conference | 8th ACM SIGPLAN Workshop on Types in Language Design and Implementation 2012 |
---|---|
Abbreviated title | TLDI'12 |
Country/Territory | United States |
City | Philadelphia |
Period | 28/01/12 → 28/01/12 |
Keywords
- Effect types
- Language integrated query
- Normalisation
- Polymorphism
- Row types
ASJC Scopus subject areas
- Software