ACM Home Page
Please provide us with feedback. Feedback
Conjunctional type assignment in programming languages
Full text PdfPdf (762 KB)
Source ACM Annual Computer Science Conference archive
Proceedings of the 1988 ACM sixteenth annual conference on Computer science table of contents
Atlanta, Georgia, United States
Pages: 475 - 482  
Year of Publication: 1988
ISBN:0-89791-260-8
Authors
R. Ghosh-Roy  Institute of Electronic Systems, Department of Mathematics and Computer Science, Aalborg University Centre, Strandvejen 19, DK-9000 Aalborg, Denmark
Frank Jensen  Institute of Electronic Systems, Department of Mathematics and Computer Science, Aalborg University Centre, Strandvejen 19, DK-9000 Aalborg, Denmark
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 4,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/322609.322821
What is a DOI?

ABSTRACT

The aim of this work is to widen ML-type polymorphism to a more comprehensive form. Polymorphic type systems as proposed by Milner and implemented in the programming language Standard ML offer rich types, unobtrusive compile time type checking, and type safety in functional languages. However, straightforward application of such a type system to languages can inhibit seriously the characteristic polymorphic nature of an argument occurring twice or more in a function definition. We describe the problems and present a formal type discipline for polymorphic expressions in the context of a simple programming language, and a compile time type-checking algorithm R which enforces the discipline. The algorithm, which is sound and (we believe) complete, introduces a new operator 2229 for handling conjunction types. We also suggest an idea about a unification algorithm for handling type expressions with or without 2229-operators [gho87b].


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
bar85
Barendregt, It. "A Filter Lambda Model And The Completeness Of Type Assignment," The Journal of Symbolic Logic 48(4), December (1985).
 
car83
Cardelli, L. "ML Under Unix," Polymorphism- The ML/LCF/Hope Newsletter 1(3), Department of Computer Science, University of Edinburgh, December (1983).
 
car85
Cardelli, L. "Basic Polymorphic Type Checking," Polymorphism ~ The ML/LCF/Hope Newsletter iI(1), Department of Computer Science, University of Edinburgh, January (1985).
 
cop80
 
cop83
Coppo, M. "On the Semantics of Polymorphism," Acta {nformatica 20 (1983).
 
dam85
Damns, L. M. M. "Type Assignment in Programming Languages," Ph.D. Thesis, Department of Computer Science, CST-33-85, University of Edinburgh, April (1985).
 
gho86
Ghosh-Roy, R., et al. "Conjunction Types," summary only, Department of Computational Science, University of St Andrews, December (1986).
 
gho87a
Ghosh-Roy, R. "Conjunctional Polymorphlsm," Proceedings of the Tenth Australian Computer Science Conference, Geelong, Australia, February (1987).
 
gho87b
Ghosh-Roy, R. "The Unification Algorithm for Conjunction Polymorphism." Personal communications with Professor Rocca (1987).
 
gor79
Gordon, M. J. C., et al. "Edinburgh LCF," Lecture Notes in Computer Science 78, Springer- Verlag, Berlin (1979).
 
jen87
Jeasen, F. "Type Assignment ia A Polymorphic Type Discipline," Technical Report, Institute of Electronic Systems, Department of Mathematics and Computer Science, Aalborg University Centre, Denmark (1987).
lei83
 
mil77
Milner, R. "A Theory of Type Polymorphism in Programming," University of Edinburgh, Department of Computer Science, Internal Report CSR-
rob65
 
tur79
Turner, D. A. "A New Implementation Technique for Applicative Languages," Software--Practice and Experience 9, January (1979).

Collaborative Colleagues:
R. Ghosh-Roy: colleagues
Frank Jensen: colleagues