Cornell University
Library
Cornell UniversityLibrary

eCommons

Help
Log In(current)
  1. Home
  2. Cornell Computing and Information Science
  3. Computer Science
  4. Computer Science Technical Reports
  5. Some Ideas on Data Types in High Level Languages

Some Ideas on Data Types in High Level Languages

File(s)
75-244.pdf (1.48 MB)
75-244.ps (484.32 KB)
Permanent Link(s)
https://hdl.handle.net/1813/6563
Collections
Computer Science Technical Reports
Author
Gries, David
Gehani, Narain
Abstract

WE explore some new and old ideas concerning data types; what a data type is, overloading operators, when and how implicit conversions between programmer data types should be allowed and so forth. The current notion that a data type is a set of values together with basic operations in that set leads us to conclude that formal parameter types need not be so explicitly stated. Given a formal parameter X with operations $o_{1},\ldots o_{n}$ being performed on X within a procedure, one should be able to supply, as actual parameter in call, a variable of any type which has operations $o_{1},\ldots o_{n}$ defined on it. We introduce a notation for this, using PASCAL as a basic language, illustrate the added flexibility it gives us, and show briefly how to implement the idea efficiently.

Date Issued
1975-05
Publisher
Cornell University
Keywords
computer science
•
technical report
Previously Published as
http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR75-244
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

copyright © 2002-2026 Cornell University Library | Privacy | Web Accessibility Assistance