Abstract
We explore the duality of construction and deconstruction in the presence of different evaluation strategies. We characterize an evaluation strategy by the notion of substitutability, given by defining what is a value and a co-value, and we present an equational theory that takes the strategy as a parameter. The theory may be extended with new logical connectives, in the form of user-defined data and co-data types, which are duals of one another. Finally, we explore a calculus with composite evaluation strategies that allow for more flexibility over evaluation order by mingling multiple primitive strategies within a single program. © 2014 Springer-Verlag.
Cite
CITATION STYLE
Downen, P., & Ariola, Z. M. (2014). The duality of construction. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8410 LNCS, pp. 249–269). Springer Verlag. https://doi.org/10.1007/978-3-642-54833-8_14
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.