POLYMORPHIC TYPE-CHECKING IN SCHEME

Citation
Sl. Jenkins et Gt. Leavens, POLYMORPHIC TYPE-CHECKING IN SCHEME, Computer languages, 22(4), 1996, pp. 215-223
Citations number
13
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
ISSN journal
00960551
Volume
22
Issue
4
Year of publication
1996
Pages
215 - 223
Database
ISI
SICI code
0096-0551(1996)22:4<215:PTIS>2.0.ZU;2-M
Abstract
This paper presents a type-inference system for Scheme that is designe d to be used by students in an introductory programming course. The ma jor goal of the work is to present a type system that is simple enough to be used by beginner students, yet is powerful enough to express th e ideas of polymorphism, abstract data types (ADTs), and higher-order procedures. The system also performs some rudimentary syntax checking. The system uses subtyping, but only in a primitive fashion. It has a type datum which is a supertype of all types, and a type poof which is a subtype of all types. It uses intersection types to control the use of datum and to generate simple but accurate types. (C) 1997 Elsevier Science Ltd.