- 1、本文档共49页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
A Syntactic Approach to Type Soundness-英文文献
A Syntactic Approach to Type Soundness
Andrew K Wright Matthias Felleisen
Department of Computer Science
Rice University
Houston TX
June
Rice Technical Rep ort TR
To app ear in Information and Computation
Abstract
We present a new approach to proving typ e soundness for HindleyMilnerstyle
p olymorphic typ e systems The keys to our approach are an adaptation of sub ject
reduction theorems from combinatory logic to programming languages and the use
of rewriting techniques for the sp ecication of the language semantics The approach
easily extends from p olymorphic functional languages to imp erative languages that
provide references exceptions continuations and similar features We illustrate the
technique with a typ e soundness theorem for the core of Standard ML which includes
the rst typ e soundness pro of for p olymorphic exceptions and continuations
Typ e Soundness
Static typ e systems for programming languages attempt to prevent the o ccurrence of type
errors during execution A denition of typ e error dep ends on a sp ecic language and
typ e system but always includes the use of a function on arguments for which it is not
dened and the attempted application of a nonfunction A static typ e system is sound if
welltyp ed programs cannot cause typ e errors a programming language with a sound static
typ e system is strongly typed
While it is easy to design a sound typ e system for an explicitly typ ed monomorphic
language the formulation of a sound typ e system for a language based on HindleyMilner
style p olymorphism and typ e inference is delicate
您可能关注的文档
- A Learning Algorithm for Continually Running Fully Recurrent Neural Networks-英文文献.pdf
- A Limited Memory Algorithm for Bound Constrained Optimization-英文文献.pdf
- A Long-Memory Property of Stock Market Returns and a New Model-英文文献.pdf
- A message ferrying approach for data delivery in sparse mobile ad hoc networks-英文文献.pdf
- A learning algorithm for Boltzmann machines-英文文献.pdf
- A Meta-Analytic Review of Experiments Examining the Effects of Extrinsic Rewards on Intrinsic Motivation-英文文献.pdf
- A Model of Saliency-based Visual Attention for Rapid Scene Analysis-英文文献.pdf
- A New Extension of the Kalman Filter to Nonlinear Systems-英文文献.pdf
- A New Kind of Science-英文文献.pdf
- A Morphable Model For The Synthesis Of 3D Faces-英文文献.pdf
文档评论(0)