ComputingComputer ScienceAlgorithmsProgramming LanguagesSyntaxData TypesRecursion TheorySyntactic AnalysisSyntax AnalysisType CheckingType SystemsPolymorphic CodePolymorphic Type SystemsPolymorphic TypesPolymorphism StudiesRecursive TypesType InferenceTyped Lambda Calculus
F<: is a highly expressive typed-calculus with subtyping. This paper describes an implementation of F<: (extended with recursive types), and documents the algorithms used. Using this implementation, one can test F<: programs and examine typing derivations. To facilitate the writing of complex F<: encodings, we provide a flexible syntax-extension mechanism. New syntax can be defined from scratch, and the existing syntax can be extended on the fly. It is possible to introduce new binding constructs, while avoiding problems with variable capture. To reduce the syntactic clutter, we provide a practical type inference mechanism that is applicable to any explicitly typed polymorphic language. Syntax extension and type inference interact in useful ways.
10
Imperative functional programming
Simon Jones, Philip Wadler · 1993 · 1.2K citations · Full text
Roberto M. Amadio, Luca Cardelli · ACM Transactions on Programming Languages and Systems · 1993 · 353 citations · Full text
Eugene E. Kohlbecker, Daniel P. Friedman, Matthias Felleisen et al. · 1986 · 309 citations
Systems programming with Modula-3
Choice Reviews Online · 1992 · 260 citations
An Extension of System F with Subtyping
Luca Cardelli, Simone Martini, John C. Mitchell et al. · Information and Computation · 1994 · 192 citations · Full text