From Algol to polymorphic linear lambda-calculus

被引:37
|
作者
O'Hearn, PW
Reynolds, JC
机构
[1] Queen Mary Univ London, Dept Comp Sci, London E1 4NS, England
[2] Carnegie Mellon Univ, Sch Comp Sci, Pittsburgh, PA 15213 USA
关键词
linear logic; local state; logical relations; parametric polymorphism;
D O I
10.1145/331605.331611
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In a linearly-typed functional language, one can define functions that consume their arguments in the process of computing their results. This is reminiscent of state transformations in imperative languages, where execution of an assignment statement alters the contents of the store. We explore this connection by translating two variations on Algol 60 into a purely functional language with polymorphic linear types. On the one hand, the translations lead to a semantic analysis of Algol-like programs, in terms of a model of the linear language. On the other hand, they demonstrate that a linearly-typed functional language can be at least as expressive as Algol.
引用
收藏
页码:167 / 223
页数:57
相关论文
共 50 条
  • [1] METACIRCULARITY IN THE POLYMORPHIC LAMBDA-CALCULUS
    PFENNING, F
    LEE, P
    THEORETICAL COMPUTER SCIENCE, 1991, 89 (01) : 137 - 159
  • [2] COMPILING THE POLYMORPHIC LAMBDA-CALCULUS
    MICHAYLOV, S
    PFENNING, F
    SIGPLAN NOTICES, 1991, 26 (09): : 285 - 296
  • [3] A linear linear lambda-calculus
    Diaz-Caro, Alejandro
    Dowek, Gilles
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2024,
  • [4] Rewriting with extensional polymorphic lambda-calculus
    DiCosmo, R
    Kesner, D
    COMPUTER SCIENCE LOGIC, 1996, 1092 : 215 - 232
  • [5] A Polymorphic Type System for the Lambda-Calculus with Constructors
    Petit, Barbara
    TYPED LAMBDA CALCULI AND APPLICATIONS, PROCEEDINGS, 2009, 5608 : 234 - 248
  • [6] THE GENERICITY THEOREM AND PARAMETRICITY IN THE POLYMORPHIC LAMBDA-CALCULUS
    LONGO, G
    MILSTED, K
    SOLOVIEV, S
    THEORETICAL COMPUTER SCIENCE, 1993, 121 (1-2) : 323 - 349
  • [7] ON FUNCTORS EXPRESSIBLE IN THE POLYMORPHIC TYPED LAMBDA-CALCULUS
    REYNOLDS, JC
    PLOTKIN, GD
    INFORMATION AND COMPUTATION, 1993, 105 (01) : 1 - 29
  • [8] Focused Linear Logic and the lambda-calculus
    Brock-Nannestad, Taus
    Guenot, Nicolas
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2015, 319 : 103 - 119
  • [9] Some aspects of the categorical semantics for the polymorphic lambda-calculus
    Maietti, ME
    LOGIC AND ALGEBRA, 1996, 180 : 589 - 601
  • [10] An Infinitary Affine Lambda-Calculus Isomorphic to the Full Lambda-Calculus
    Mazza, Damiano
    2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, : 471 - 480