• Title of article

    Finite subtype inference with explicit polymorphism

  • Author/Authors

    Dominic Duggan، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2001
  • Pages
    36
  • From page
    57
  • To page
    92
  • Abstract
    Finite subtype inference occupies a middle ground between Hindley–Milner-type inference (as in ML) and subtype inference with recursively constrained types. It refers to subtype inference where only finite types are allowed as solutions. This approach avoids some open problems with general subtype inference, and has practical motivation where recursively constrained types are not appropriate. This paper presents algorithms for finite subtype inference, including checking for entailment of inferred types against explicitly declared polymorphic types. This resolves for finite types a problem that is still open for recursively constrained types. Some motivation for this work, particularly for finite types and explicit polymorphism, is in providing subtype inference for first-class container objects with polymorphic methods.
  • Journal title
    Science of Computer Programming
  • Serial Year
    2001
  • Journal title
    Science of Computer Programming
  • Record number

    1079591