2012 · 22 citations · 30 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSyntaxData TypesGeneric ProgrammingPredicate LogicSyntax-semantics InterfaceType CheckingType SystemsClosure ConversionDependent TypesIndexing LanguageLanguage DesignLogical Framework ApproachModular DesignType ConversionType Specification
We show how to combine a general purpose type system for an existing language with support for programming with binders and contexts by refining the type system of ML with a restricted form of dependent types where index objects are drawn from contextual LF. This allows the user to specify formal systems within the logical framework LF and index ML types with contextual LF objects. Our language design keeps the index language generic only requiring decidability of equality of the index language providing a modular design. To illustrate the elegance and effectiveness of our language, we give programs for closure conversion and normalization by evaluation.
30
Dependent types in practical programming
Hongwei Xi, Frank Pfenning · 1999 · 584 citations · Full text
Martı́n Abadi, Anindya Banerjee, Nevin Heintze et al. · 1999 · 415 citations
Guarded recursive datatype constructors
Hongwei Xi, Chiyan Chen, Gang Chen · 2003 · 329 citations