Please use this identifier to cite or link to this item: https://ah.lib.nccu.edu.tw/handle/140.119/75882
題名: A Type System for a Lambda Calculus with Assignments
作者: Chen, Kung;Odersky, Martin
陳恭
貢獻者: 資科系
日期: 1994
上傳時間: 17-Jun-2015
摘要: We present a Hindley/Milner-style polymorphic type system for var, an extension of the call-by-name -calculus with mutable variables and assignments. To match var`s explicit distinction between functional and imperative worlds, the type universe is stratified into two layers: one for applicative expressions and one for imperative state transformers. In inferring types for var-terms, the type system performs a simple effect analysis to statically verify the safety of coercing a state transformer to a pure value. We prove the soundness of the type system with respect to var`s untyped reduction semantics so that any well-typed program will evaluate to an answer, provided the evaluation terminates. We also discuss some practical aspects of the type system and present a type checker based on the well-known W algorithm.
關聯: Theoretical Aspects of Computer Software - TACS , pp. 347-364
資料類型: article
DOI: http://dx.doi.org/10.1007/3-540-57887-0_103
Appears in Collections:期刊論文

Files in This Item:
File Description SizeFormat
index.html124 BHTML2View/Open
Show full item record

Google ScholarTM

Check

Altmetric

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.