Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/62678.62700acmconferencesArticle/Chapter ViewAbstractPublication PageslfpConference Proceedingsconference-collections
Article
Free access

Type inference in a database programming language

Published: 01 January 1988 Publication History

Abstract

We extend an ML-like implicit type system to include a number of structures and operations that are common in database programming including sets, labeled records, joins and projections. We then show that the type inference problem of the system is decidable by extending the notion of principal type schemes to include conditions on substitutions. Combined with Milner's polymorphic let constructor, our language also supports type inheritance.

References

[1]
O.P. Buneman and A. Ohori. Using Powerdomains to Generalize Relational Databases. Theoreical Computer Science, To Appear, 1988. Available as a technical report from Department of Computer and Information Science, University of Pennsylvania.
[2]
L. Cardelli. A Semantics of Multiple Inheritance. In Semantics of Data Types, Lecture Notes in Computer Science 173, Springer-Vcrlag, 1984.
[3]
L. Cardelli and P. Wegner. On Understanding Types, Data Abstraction, and Polymorphism. Computing $urverys, 17(4):471-522, December 1986.
[4]
C. Dwork, P. Kanellakis, and J. Mitchell. On the Sequential Nature of Unification. Journal of Logic Programming, 1:35-50, 1984.
[5]
L. Damas and R. Milner. Principal type-schemes for functional programs, in 9-th A CM Symposium on Principles of Programming Languages, pages 207-212, 1982.
[6]
M.R. Garey and D. S. Johnson. Computer and intractability, A Guide to the Theory of NP-Completeness. Freeman, New York, 1979.
[7]
E.M. Gold. Complexity of automaton identification from given data. 1974. Unpublished manuscript, Reference found in {GJ79}.
[8]
R. Harper, D. B. MacQueen, and R. Milner. Standard ML. LFCS Report Series ECS-LFCS-86-2, Department of Computer Science, University of Edinburgh, March 1986.
[9]
R. Milner. A Theory of Type Polymorphism in Programming. Journal of Uompater and System Sciences, 17:348-375, 1978.
[10]
J.C. Mitchell. Coercion and Type inference. In Proc. l l-th A CM Symposium on Principles of Programming Languages, pages 17.5-185, 1984.
[11]
Robinson, J. A. A machine-oriented logic based on the resolution principle. Journal o/the ACM, 12:23-41, March 1965.
[12]
R. Stansifer. Type Inference with Subtypes. In Proc. 15*th A CM Symposium on Principles of Programming Languages, pages 88-97, 1988.
[13]
M. Wand. Complete Type Inference for Simple Objects. In Proceedings of the Second Anual Symposium on Logic in Uompater Science, pages 37-44, Ithaca, New York, June 1987.

Cited By

View all
  • (2023)Infix-Extensible Record Types for Tabular DataProceedings of the 8th ACM SIGPLAN International Workshop on Type-Driven Development10.1145/3609027.3609406(29-43)Online publication date: 30-Aug-2023
  • (2021)An ML-style Record Calculus with Extensible RecordsElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.351.1351(1-17)Online publication date: 29-Dec-2021
  • (2021)A variational database management systemProceedings of the 20th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences10.1145/3486609.3487197(29-42)Online publication date: 17-Oct-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
LFP '88: Proceedings of the 1988 ACM conference on LISP and functional programming
January 1988
351 pages
ISBN:089791273X
DOI:10.1145/62678
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 January 1988

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

LISP88
LISP88: Lisp & Functional Programming 88
July 25 - 27, 1988
Utah, Snowbird, USA

Acceptance Rates

Overall Acceptance Rate 30 of 109 submissions, 28%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)75
  • Downloads (Last 6 weeks)17
Reflects downloads up to 25 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Infix-Extensible Record Types for Tabular DataProceedings of the 8th ACM SIGPLAN International Workshop on Type-Driven Development10.1145/3609027.3609406(29-43)Online publication date: 30-Aug-2023
  • (2021)An ML-style Record Calculus with Extensible RecordsElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.351.1351(1-17)Online publication date: 29-Dec-2021
  • (2021)A variational database management systemProceedings of the 20th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences10.1145/3486609.3487197(29-42)Online publication date: 17-Oct-2021
  • (2014)SML# in industryACM SIGPLAN Notices10.1145/2692915.262816449:9(167-173)Online publication date: 19-Aug-2014
  • (2014)SML# in industryProceedings of the 19th ACM SIGPLAN international conference on Functional programming10.1145/2628136.2628164(167-173)Online publication date: 19-Aug-2014
  • (2013)Static and dynamic semantics of NoSQL languagesACM SIGPLAN Notices10.1145/2480359.242908348:1(101-114)Online publication date: 23-Jan-2013
  • (2013)Static and dynamic semantics of NoSQL languagesProceedings of the 40th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages10.1145/2429069.2429083(101-114)Online publication date: 23-Jan-2013
  • (2013)High-Level Rules for Integration and Analysis of Data: New ChallengesIn Search of Elegance in the Theory and Practice of Computation10.1007/978-3-642-41660-6_3(36-55)Online publication date: 2013
  • (2013)Record Polymorphism: Its Development and ApplicationsIn Search of Elegance in the Theory and Practice of Computation10.1007/978-3-642-41660-6_23(432-444)Online publication date: 2013
  • (2011)Making standard ML a practical database programming languageProceedings of the 16th ACM SIGPLAN international conference on Functional programming10.1145/2034773.2034815(307-319)Online publication date: 19-Sep-2011
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media