引用本文:郑红军,张乃孝.Garment中多态类型的Ideal模型.软件学报,1998,9(3):194-199
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4263次   下载 5186 本文二维码信息
码上扫一扫!
分享到: 微信 更多
Garment中多态类型的Ideal模型
郑红军1, 张乃孝2
1.北京大学计算机系,北京,100871;2.北京大学数学科学学院信息科学系,北京,100871
摘要:
本文从Ideal的基本概念出发,研究了Ideal作为类型的语义模型所具有的性质.在类型的Ideal模型下,讨论了Garment中参数化多态类型和约束多态类型的语义.并在此基础上,证明了Garment中类型规则的语义可靠性.
关键词:  Ideal,多态类型,类型系统,语义,Garment.
DOI:
分类号:
基金项目:本文研究得到国家自然科学基金资助.
An Ideal Model for Polymorphic Types in Garment
ZHENG Hong-jun,ZHANG Nai-xiao
Abstract:
Starting with the concept of Ideal, the paper presents their properties when Ideals are taken as the semantic model for types. Under the ideal model of types, the paper discusses the semantics for polymorphic types in a mechanism for abstraction and encapsulation of languages named Garment, including parametric polymorphic types and constrained polymorphic types. Finally, the semantic soundness of typing rules in Garment is proved within the Ideal model.
Key words:  Ideal, polymorphic type, type system, semantics, Garment.