The gentle art of levitation

Chapman, James and Dagand, Pierre-Evariste and Mcbride, Conor and Morris, Peter; Hudak, Paul, ed. (2010) The gentle art of levitation. In: ICFP 2010 Proceedings of the 15th ACM SIGPLAN international conference on functional programming. ACM, New York, NY, USA, pp. 3-14. ISBN 9781605587943 (https://doi.org/10.1145/1863543.1863547)

Full text not available in this repository.Request a copy

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. Simulations in existing systems suggest that this apparently self-supporting setup is achievable without paradox or infinite regress.

ORCID iDs

Chapman, James, Dagand, Pierre-Evariste, Mcbride, Conor ORCID logoORCID: https://orcid.org/0000-0003-1487-0886 and Morris, Peter; Hudak, Paul