Abstract
This chapter considers the relationships between records, tuples and the objects of the object calculus, a representative calculus for object-orientation. The main challenge is how to define functions (or methods) that can act on records which have only some fields in common. The object-oriented approach adds the functionality to the record to produce an object. The pattern calculus approach treats methods as pattern-matching functions, adding special cases only when required to do so.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Jay, B. (2009). Objects. In: Pattern Calculus. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89185-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-540-89185-7_6
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-89184-0
Online ISBN: 978-3-540-89185-7
eBook Packages: Computer ScienceComputer Science (R0)