• DocumentCode
    1616246
  • Title

    A constraint-based presentation and generalization of rows

  • Author

    Pottier, François

  • Author_Institution
    INRIA, France
  • fYear
    2003
  • Firstpage
    331
  • Lastpage
    340
  • Abstract
    We study the combination of possibly conditional nonstructural subtyping constraints with rows. We give a new presentation of rows, where row terms disappear; instead, we annotate constraints with filters. We argue that, in the presence of subtyping, this approach is simpler and more general. In the case where filters are finite or cofinite sets of row labels, we give a constraint solving algorithm whose complexity is O(n3m log m), where n is the size of the constraint and m is the number of row labels that appear in it. We point out that this allows efficient type inference for record concatenation. Furthermore, by varying the nature of filters, we obtain several natural generalizations of rows.
  • Keywords
    computational complexity; constraint handling; constraint solving; constraint-based presentation; finite set; record concatenation; row generalization; subtyping; Computer languages; Constraint theory; Data mining; Data structures; Filters; Inference algorithms; Merging; Polynomials;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science, 2003. Proceedings. 18th Annual IEEE Symposium on
  • ISSN
    1043-6871
  • Print_ISBN
    0-7695-1884-2
  • Type

    conf

  • DOI
    10.1109/LICS.2003.1210073
  • Filename
    1210073