Coxtype
Coxtype is a theoretical construct in type theory and category theory used to denote the dual notion to algebraic data types. Whereas algebraic data types are defined by constructors that build values, co-types are characterized by destructors that observe or decompose values. In this dual view, a co-type emphasizes the observable structure of data rather than its construction.
A co-type is often associated with coalgebras and final coalgebras, and commonly features corecursive definitions. Instances
Example: a stream of values of type A can be treated as a co-type with destructors head
Usage and status: Co-type theory remains a topic of academic research within type theory and category theory.
See also: algebraic data type, cotype, coalgebra, codata, corecursion, final coalgebra.