Abstract

We study modularity in denotational semantics. We define the notion of a dyad, generalising the notion of monad, and we define the notion of symmetric premonoidal dyad, generalising the notion of strong monad. We show how dyads give rise to semantic categories for modelling computational effects, generalising the Kleisli construction for a monad, and we show that symmetric premonoidal dyads give a symmetric premonoidal structure on the semantic category, allowing us to model contexts. We give an outline, supported by technical results, how this may be used to give a modular account of adding computational effects to the semantics of an idealised programming language.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.