arXiv · 1804.00119
Generic Description of Well-Scoped, Well-Typed Syntaxes
Abstract
We adapt the technique of type-generic programming via descriptions pointing into a universe to the domain of typed languages with binders and variables, implementing a notion of "syntax-generic programming" in a dependently typed programming language. We present an Agda library implementation of type-preserving renaming and substitution (including proofs about their behaviour) "once and for all" over all applicable languages using our technique.
Explore related subjects
Keep this discovery
Gergő Érdi. 2018-03-31. Generic Description of Well-Scoped, Well-Typed Syntaxes. https://arxiv.org/abs/1804.00119
Cite the original work for its findings. Save a collection to share your selection of sources.