ML WITH EXTENDED PATTERN MATCHING AND SUBTYPES

  • Authors:
  • L. Jategaonkar

  • Affiliations:
  • -

  • Venue:
  • ML WITH EXTENDED PATTERN MATCHING AND SUBTYPES
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

We extend a fragment of the programming language ML by incorporating a more general form of record pattern matching and providing for user-declared subtypes. Together, these two enhancements may be used to support a restricted object-oriented programming style. In keeping with the framework of ML, we present typing rules for the language, and develop a type inference algorithm. We prove that the algorithm is sound with respect to the typing rules, and that it infers a most general typing for every typable expression.