Operations on records
A collection of operations and relations on records and record types is defined. A second-order type system on them is built and shown to be sound wrt. some interpretations. Due to subtyping, record types are treated in more general way than simple product types. Moreover, each record type is provided with two kinds of information: collection of fields that have to be present, and another collection of fields that have to be absent. This approach requires more carefulness when typing records - some subtle points of this are also shown. The core of the paper consists of the description of a second-order system for typing record expressions. Three models for this system (or its restricted parts) are presented. When removing some field from a record type and adding it back again, the ``most natural, set- theoretic, model fails to satisfy the theory. Therefore two more models are constructed, one of them satisfying the ``remove-add rule, the other satisfying one more additional rule (``extensional equality rule). The soundness of all these modems wrt. corresponding subtheories is proved. The system seems to be useful as an underlying theoretical basis for typic programs that manipulate record structures, especially in OOP.
- Inheritance as implicit coercion
- Another definition of order-sorted algebra
- Typed operational semantics for higher-order subtyping.
- Type destructors
- Foundations for extensible objects with roles
- Practical Optional Types for Clojure
- Approximation semantics and expressive predicate assignment for object-oriented programming (extended abstract)
- Type extensions
- Semantic types and approximation for Featherweight Java
- Labelled reductions, runtime errors, and operational subsumption
- A paradigmatic object-oriented programming language: Design, static typing and semantics
- Simple type-theoretic foundations for object-oriented programming
- scientific article; zbMATH DE number 814796 (Why is no real title available?)
- MOVE-TO-FRONT RULE FOR ACCESSING SEVERAL RECORDS
- Taming the merge operator
- Operations on records (extended abstract)
- An imperative object calculus
- No value restriction is needed for algebraic effects and handlers
- Operations on records
- Higher-order subtyping and its decidability
- A calculus with recursive types, record concatenation and subtyping
- Nearlattices with an overriding operation
- An ML-style record calculus with extensible records
- Divergence of \(F_{\leq}\) type checking
- A descriptive type foundation for RDF Schema
This page was built for publication: Operations on records
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3349962)