ICFP 2021 (series) / TyDe 2021 (series) / Workshop on Type-Driven Development 2021 /
Optics for Generic Declarative Server APIs (Extended Abstract)
A considerable amount of engineering effort is continuously deployed to implement and manage servers, and not enough research has been done to improve the experience of creating and maintaining servers. Traditionally, they are implemented by parsing a request and performing the action that corresponds to the functionality advertised by the documentation. We make progress in this area by providing a new \emph{purely declarative} library for servers that avoids errors associated with the tight coupling that emerges from imperative solutions. We use Idris2, dependent types, and lenses to achieve this goal and demonstrate how to implement and extend server APIs with as little code as possible.
Optics for generic declarative server APIs (optics for servers.pdf) | 322KiB |
Sun 22 AugDisplayed time zone: Seoul change
Sun 22 Aug
Displayed time zone: Seoul change
23:30 - 01:00 | |||
23:30 30mTalk | Gradual Correctness: a Dynamically Bidirectional Full-Spectrum Dependent Type Theory (Extended Abstract) TyDe Media Attached File Attached | ||
00:00 30mTalk | A Simpler Encoding of Indexed Types TyDe Tesla Zhang The Pennsylvania State University Link to publication DOI Pre-print Media Attached | ||
00:30 30mTalk | Optics for Generic Declarative Server APIs (Extended Abstract) TyDe Andre Videla University Of Strathclyde Media Attached File Attached |