| A sort inference algorithm for the polyadic &pgr;-calculus |
| Full text |
Pdf
(776 KB)
|
| Source
|
Annual Symposium on Principles of Programming Languages
archive
Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
table of contents
Charleston, South Carolina, United States
Pages: 429 - 438
Year of Publication: 1993
ISBN:0-89791-560-7
|
|
Author
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 12, Citation Count: 13
|
|
|
ABSTRACT
In Milner's polyadic &pgr;-calculus there is a notion of sorts which is analogous to the notion of types in functional programming. As a well-typed program applies functions to arguments in a consistent way, a well-sorted process uses communication channels in a consistent way. An open problem is whether there is an algorithm to infer sorts in the &pgr;-calculus in the same way that types can be inferred in functional programming. Here we solve the problem by presenting an algorithm which infers the most general sorting for a process in the first-order calculus, and proving its correctness. The algorithm is similar in style to those used for Hindley-Milner type inference in functional languages.
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.
| |
Hin69
|
J.R. Hindley. The principal type-scheme of an object in combinatory logic. Transactions of the American Mathematical Society, 146:29-60, 1969.
|
| |
Mil78
|
R. Milner. A theory of type polymorphism in programming. Journal of Computer and System Sciences, 17, 1978.
|
| |
Mil89
|
|
| |
Mil91
|
R. Milner. The polyadic ~r-calculus: A tutorial. Technical report, Laboratory for Foundations of Computer Science, Department of Computer Science, University of Edinburgh, 1991.
|
| |
MPW89
|
R. Milner, J. Parrow, and D. Walker. A calculus of mobile processes. Technical report, Laboratory for Foundations of Computer Science, Department of Computer Science, University of Edinburgh, 1989.
|
CITED BY 13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Naoki Kobayashi , Benjamin C. Pierce , David N. Turner, Linearity and the pi-calculus, Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.358-371, January 21-24, 1996, St. Petersburg Beach, Florida, United States
|
|
|
|
|
|
|
|
|
|
|