Type reconstruction for variable-arity procedures

  • Authors:
  • Hsianlin Dzeng;Christopher T. Haynes

  • Affiliations:
  • Computer Science Department, Lindley Hall, Indiana University, Bloomington, IN;Computer Science Department, Lindley Hall, Indiana University, Bloomington, IN

  • Venue:
  • LFP '94 Proceedings of the 1994 ACM conference on LISP and functional programming
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

An ML-style type system with variable-arity procedures is defined that supports both optional arguments and arbitrarily-long argument sequences. A language with variable-arity procedures is encoded in a core-ML variant with infinitary tuples. We present an algebra of infinitary tuples and solve its unification problem. The resulting type discipline preserves principal typings and has a terminating type reconstruction algorithm. The expressive power of infinitary tuples is illustrated.