Cartesian effect categories are Freyd-categories

Abstract : Most often, in a categorical semantics for a programming language, the substitution of terms is expressed by composition and finite products. However this does not deal with the order of evaluation of arguments, which may have major consequences when there are side-effects. In this paper Cartesian effect categories are introduced for solving this issue, and they are compared with strong monads, Freyd-categories and Haskell's Arrows. It is proved that a Cartesian effect category is a Freyd-category where the premonoidal structure is provided by a kind of binary product, called the sequential product. The universal property of the sequential product provides Cartesian effect categories with a powerful tool for constructions and proofs. To our knowledge, both effect categories and sequential products are new notions.
Complete list of metadatas

Cited literature [16 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-00369328
Contributor : Dominique Duval <>
Submitted on : Friday, June 12, 2009 - 3:59:59 PM
Last modification on : Thursday, July 4, 2019 - 9:54:02 AM
Long-term archiving on : Thursday, September 23, 2010 - 5:54:51 PM

Files

seqArxivV3.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Jean-Guillaume Dumas, Dominique Duval, Jean-Claude Reynaud. Cartesian effect categories are Freyd-categories. Journal of Symbolic Computation, Elsevier, 2011, 46 (3), pp.272-293. ⟨10.1016/j.jsc.2010.09.008⟩. ⟨hal-00369328v3⟩

Share

Metrics

Record views

431

Files downloads

293