Sciweavers

CALCO
2015
Springer

Modules Over Monads and Their Algebras

8 years 3 days ago
Modules Over Monads and Their Algebras
Modules over monads (or: actions of monads on endofunctors) are structures in which a monad interacts with an endofunctor, composed either on the left or on the right. Although usually not explicitly identified as such, modules appear in many contexts in programming and semantics. In this paper, we investigate the elementary theory of modules. In particular, we identify the monad freely generated by a right module as a generalisation of Moggi’s resumption monad and characterise its algebras, extending previous results by Hyland, Plotkin and Power, and by Filinski and Støvring. Moreover, we discuss a connection between modules and algebraic effects: left modules have a similar feeling to Eilenberg–Moore algebras, and can be seen as handlers that are natural in the variables, while right modules can be seen as functions that run effectful computations in an appropriate context (such as an initial state for a stateful computation). 1998 ACM Subject Classification F.3.2 Semantics...
Maciej Piróg, Nicolas Wu, Jeremy Gibbons
Added 17 Apr 2016
Updated 17 Apr 2016
Type Journal
Year 2015
Where CALCO
Authors Maciej Piróg, Nicolas Wu, Jeremy Gibbons
Comments (0)