The Gentle Art of Levitation
| Citations: | 8 - 0 self |
BibTeX
@MISC{Chapman_thegentle,
author = {James Chapman and Pierre-évariste Dagand and Conor Mcbride and Peter Morris},
title = {The Gentle Art of Levitation},
year = {}
}
OpenURL
Abstract
We present a closed dependent type theory whose inductive types are given not by a scheme for generative declarations, but by encoding in a universe. Each inductive datatype arises by interpreting its description—a first-class value in a datatype of descriptions. Moreover, the latter itself has a description. Datatype-generic programming thus becomes ordinary programming. We show some of the resulting generic operations and deploy them in particular, useful ways on the datatype of datatype descriptions itself. Surprisingly this apparently self-supporting setup is achievable without paradox or infinite regress. 1.







