Publication View

Unfolding Abstract Datatypes (2008)

Abstract
Abstract. One of the most fundamental tools in the programmer’s toolbox is the abstract datatype. However, abstract datatypes are not as widely used in functional programming as they might be, perhaps because they are not subject to familiar proof methods such as equational reasoning and induction — in essence, because they are a form of codata rather than a form of data. We show that proof methods for corecursive programs are the appropriate techniques to use for reasoning with abstract datatypes. In particular, building on established work on final coalgebra semantics for object-oriented programs, we show that the reasoning principles of unfold operators are perfectly suited for the task. We illustrate with the solution to a problem in the recent literature. 1

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=?doi=10.1.1.104.1972
Source http://web.comlab.ox.ac.uk/oucl/work/jeremy.gibbons/publications/adt.pdf
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Type text
Language English
Relation 10.1.1.37.1418, 10.1.1.51.646, 10.1.1.101.3630, 10.1.1.29.6018, 10.1.1.51.53, 10.1.1.42.1735, 10.1.1.37.3914, 10.1.1.57.9853, 10.1.1.47.3623, 10.1.1.31.8788, 10.1.1.88.5295, 10.1.1.74.5735