Containers: Constructing strictly positive types
Containers: Constructing strictly positive types
复制标题
DOI:
10.1016/j.tcs.2005.06.002
复制
发表时间:
2005-09-06
影响因子:
1.1
通讯作者:
Ghani, N
中科院分区:
文献类型:
--
作者:
Abbott, M;Altenkirch, T;Ghani, N
We introduce the notion of a Martin-Lof category-a locally cartesian closed category with disjoint coproducts and initial algebras of container functors (the categorical analogue of W-types)-and then establish that nested strictly positive inductive and coinductive types, which we call strictly positive types, exist in any Martin-Lof category.Central to our development are the notions of containers and container functors. These provide a new conceptual analysis of data structures and polymorphic functions by exploiting dependent type theory as a convenient way to define constructions in Martin-Lof categories. We also show that morphisms between containers can be full and faithfully interpreted as polymorphic functions (i.e. natural transformations) and that, in the presence of W-types, all strictly positive types (including nested inductive and coinductive types) give rise to containers. (c) 2005 Elsevier B.V. All rights reserved.