Personal tools
You are here: Home Events Sam Lindley - Lab Lunch 2011

Sam Lindley - Lab Lunch 2011

Row-based effect types for database integration

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 queries must return a list of records of base type. Polymorphism over the presence of record labels supports smooth abstraction over database queries, inserts, deletes and updates. Row-based effects also support extensions to Links such as type-safe Erlang-style mailbox concurrency.

Document Actions