skip to main content
10.1145/582153.582168acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article
Free Access

A type declaration and inference system for smalltalk

Published:25 January 1982Publication History

ABSTRACT

An experimental system for declaring and inferring type in Smalltalk is described. (In the current Smalltalk language, the programmer supplies no type declarations.) The system provides the benefits of type declaration in regard to compile-time checking and documentation, while still retaining Smalltalk's flexibility. A type hierarchy, which is integrated with the existing Smalltalk class hierarchy, allows one type to inherit the traits of another type. A type may also have parameters, which are in turn other types.

References

  1. {Borning 81} Borning, A.H. The Programming Language Aspects of ThingLab, A Constraint-Oriented Simulation Laboratory. ACM Transactions on Programming Languages and Systems 3(4):353--387, October, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. {Cannon 80} Cannon, H.I. Flavors. Technical Report, MIT Artificial Intelligence Lab, 1980.Google ScholarGoogle Scholar
  3. {Dahl & Nygaard 66} Dahl, O-J, and Nygaard, K. SIMULA --- An ALGOL-Based Simulation Language. Communications of the ACM 9(9):671--678, September, 1966. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. {DOD 80} United States Department of Defense. Reference Manual for the Ada Programming Language 1980.Google ScholarGoogle Scholar
  5. {Goldberg 81} Goldberg, A.J., Robson, D., and Ingalls, D.H.H. Smalltalk-80: The Language and its Implementation. 1981. Forthcoming book. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. {Ingalls 78} Ingalls, D.H.H. The Smalltalk-76 Programming System: Design and Implementation. In Proceedings of the Fifth Annual Principles of Programming Languages Symposium, pages 9--16. ACM, January, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. {Ledgard 81} Ledgard, H.F. A Human Engineered Variant of BNF. SIGPLAN Notices 15(10):57--62, October, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. {Liskov 77} Liskov, B., Snyder, A., Atkinson, R, and Shaffert, C. Abstraction Mechanisms in CLU. Communications of the ACM 20(8):564--576, August, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. {LRG 81} The Xerox Learning Research Group. The Smalltalk-80 System. Byte 6(8):36--48, August, 1981.Google ScholarGoogle Scholar
  10. {Milner 78} Milner, R. A Theory of Type Polymorphism in Programming. Journal of Computer and System Sciences 17:348--375, 1978.Google ScholarGoogle ScholarCross RefCross Ref
  11. {Mitchell 79} Mitchell, J., Maybury, W., and Sweet, R. Mesa Language Manual. Technical Report CSL-79-3, Xerox Palo Alto Research Center, April, 1979.Google ScholarGoogle Scholar
  12. {Suzuki 81} Suzuki, N. Inferring Types in Smalltalk. In Proceedings of the Eighth Annual Principles of Programming Languages Symposium. ACM, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. {Tesler 81} Tesler, L. The Smalltalk Environment. Byte 6(8):90--147, August, 1981.Google ScholarGoogle Scholar
  14. {Wulf 76} Wulf, W., London, R., and Shaw, M. An Introduction to the Construction and Verification of Alphard Programs. IEEE Transactions on Software Engineering SE-2(4):253--264, December, 1976.Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. A type declaration and inference system for smalltalk

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      POPL '82: Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
      January 1982
      378 pages
      ISBN:0897910656
      DOI:10.1145/582153

      Copyright © 1982 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 25 January 1982

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      POPL '82 Paper Acceptance Rate38of121submissions,31%Overall Acceptance Rate824of4,130submissions,20%

      Upcoming Conference

      POPL '25

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader