Cartesian effect categories are Freyd-categories - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2009

Cartesian effect categories are Freyd-categories

Jean-Guillaume Dumas
Jean-Claude Reynaud
  • Fonction : Auteur
  • PersonId : 829864

Résumé

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.
Fichier principal
Vignette du fichier
seqArxiv.pdf (333.26 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00369328 , version 1 (19-03-2009)
hal-00369328 , version 2 (19-05-2009)
hal-00369328 , version 3 (12-06-2009)

Identifiants

Citer

Jean-Guillaume Dumas, Dominique Duval, Jean-Claude Reynaud. Cartesian effect categories are Freyd-categories. 2009. ⟨hal-00369328v2⟩
249 Consultations
285 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More