Publication View

On the Semantics of Nested Datatypes (2000)

Abstract
Introduction Nested datatypes were introduced in [1] as recursively dened parameterised datatypes in which the parameter of the datatype changes in the recursive call. For example, the Nest datatype, which represents perfectly balanced binary trees, can be dened in Haskell by data Nest a = Nil j Cons(a; Nest (a; a)) (1) The standard semantic denition of recursively dened datatypes is as initial algebras in the category Set of sets and total functions [6]. It was shown in [1] that this theory is inadequate to describe nested datatypes. Instead, one solution proposed there was to dene them as initial algebras in the functor category Nat(Set), with objects all endofunctors on Set and arrows all natural transformations between them. It was observed, however, that this approach had not been vali

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=?doi=10.1.1.35.7765
Source http://web.comlab.ox.ac.uk/oucl/work/jeremy.gibbons/publications/semantics.ps.gz
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Type text
Language English
Relation 10.1.1.41.125, 10.1.1.54.6229, 10.1.1.31.3551, 10.1.1.42.4731, 10.1.1.42.1517, 10.1.1.46.2207, 10.1.1.40.757, 10.1.1.103.6073, 10.1.1.46.571, 10.1.1.36.235, 10.1.1.6.5373