Promonads and String Diagrams for Effectful Categories
Mario Román
TL;DR
This paper develops a rigorous, diagrammatic foundation for effectful categories by modeling runtime as a resource that turns a premonoidal structure into a monoidal one. It provides two core advances: a runtime-as-resource theorem establishing a free construction via an extra wire, and a promonad-centered framework showing that effectful categories are pseudomonoids in the monoidal bicategory of promonads, with a universal pure-tensor operation for combining effects. The results unify string-diagram techniques with promonad theory, offering a principled, diagrammatic approach to the semantics of effectful programming and paving the way for arrow-based reasoning and do-notation in a categorical setting.
Abstract
Premonoidal and Freyd categories are both generalized by non-cartesian Freyd categories: effectful categories. We construct string diagrams for effectful categories in terms of the string diagrams for a monoidal category with a freely added object. We show that effectful categories are pseudomonoids in a monoidal bicategory of promonads with a suitable tensor product.
