Database programming in Machiavelli—a polymorphic language with static type inference
Atsushi Ohori, Peter Buneman, Val Breazu-Tannen · ACM SIGMOD Record · 1989
Machiavelli is a polymorphically typed programming language in the spirit of ML, but supports an extended method of type inferencing that makes its polymorphism more general and appropriate for database applications. In particular, a function that selects a field ƒ of a records is polymorphic in the sense that it can be applied to any record which contains a field ƒ with the appropriate type. When combined with a set data type and database operations including join and projection, this provides a natural medium for relational database programming. Moreover, by implementing database objects as reference types and generating the appropriate views — sets of structures with “identity” — we can achieve a degree of static type checking for object-oriented databases.
Cited by 139 works. doi:10.1145/66926.66931 Open-access PDF
Authors
References
- Lecture Notes in Computer Science 1205
- Department of Computer Science
- A theory of type polymorphism in programming
- The Definition of Standard ML
- On understanding types, data abstraction, and polymorphism
- Semantic database modeling: survey, applications, and research issues
- A semantics of multiple inheritance
- Miranda: A non-strict functional language with polymorphic types
- Making smalltalk a database system
- GALILEO: a strongly-typed, interactive conceptual language