Skip to main navigation Skip to search Skip to main content

Contract-Based Software Development: Immutable Lists and Quantifiers

  • Simon Kongshøj

Research output: Other contribution › Teaching material

65 Downloads (Pure)

Abstract

This lecture note explains how contracts can be written to express properties of entire data structures, when methods mutate the contents of those structures.
We will see two mechanisms that serve this purpose: Immutable lists, which are derived from functional programming concepts and are used to express data structure contracts in Eiffel, and shallow copies, which are used in many modern contract development tools such as JML and MS Code Contracts. Examples are provided in JML.
Original languageEnglish
Publication date2016
Number of pages9
Publication statusPublished - 2016

Fingerprint

Dive into the research topics of 'Contract-Based Software Development: Immutable Lists and Quantifiers'. Together they form a unique fingerprint.

Cite this