Skip to Content
Programming Languages: Concepts and Implementation
book

Programming Languages: Concepts and Implementation

by Saverio Perugini
December 2021
Beginner
840 pages
47h 29m
English
Jones & Bartlett Learning
Content preview from Programming Languages: Concepts and Implementation

9.11 Chapter Summary

Type systems support data abstraction and, in particular, the definition of user-defined data types that have the properties and behavior of primitive types. A variety of aggregate (e.g., arrays, records, and unions) and inductive data types (e.g., linked list) can be constructed using the type system of a language. A type system of a programming language includes the mechanism for creating new data types from existing types. It should enable the creation of new data types easily and flexibly. The pattern matching built into ML and Haskell supports the decomposition of an (inductive) aggregate data type.

Variant records (i.e., unions of records) and abstract syntax are of particular use in data structures for representing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concepts and Semantics of Programming Languages 1

Concepts and Semantics of Programming Languages 1

Therese Hardin, Mathieu Jaume, Francois Pessaux, Veronique Viguie Donzeau-Gouge
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781284222739