Journal of Functional Programming · 2009 · 118 citations · 27 references
ComputingComputer ScienceAlgebraProgramming LanguagesTheory Of ComputationCategory TheoryComputational ModelsData TypesRecursion TheoryType SystemsCategory Theory For Programming LanguagesLambda CalculusLambda Calculus SemanticsMonadic EffectsMonadic SemanticsMonadsMonoidal CategoriesType Parameterization
Moggi's Computational Monads and Power et al.'s Freyd categories capture many computational effects such as non‑termination, non‑determinism, exceptions, continuations, side effects, and I/O. The authors introduce parameterised monads and parameterised Freyd categories to generalise computational monads and Freyd categories, enabling effects with parameters. They define parameterised monads and Freyd categories, illustrate them with examples such as composable continuations, state‑varying side effects, and variable‑range I/O, extend the framework to structured parameterisation for separated side effects and multiple independent I/O streams, and present two typed λ‑calculi—one with and one without symmetric monoidal parameterisation—that soundly and completely model the categorical definitions. The typed λ‑calculi soundly and completely model the categorical definitions, serving as prototypical languages for parameterised effects.
Abstract Moggi's Computational Monads and Power et al .'s equivalent notion of Freyd category have captured a large range of computational effects present in programming languages. Examples include non-termination, non-determinism, exceptions, continuations, side effects and input/output. We present generalisations of both computational monads and Freyd categories, which we call parameterised monads and parameterised Freyd categories, that also capture computational effects with parameters. Examples of such are composable continuations, side effects where the type of the state varies and input/output where the range of inputs and outputs varies. By considering structured parameterisation also, we extend the range of effects to cover separated side effects and multiple independent streams of I/O. We also present two typed λ-calculi that soundly and completely model our categorical definitions – with and without symmetric monoidal parameterisation – and act as prototypical languages with parameterised effects.
27
Jean-Yves Girard · Theoretical Computer Science · 1987 · 4.1K citations
Separation logic: a logic for shared mutable data structures
John Reynolds · 2003 · 2.2K citations
Notions of computation and monads
Eugenio Moggi · Information and Computation · 1991 · 1.7K citations
CATEGORIES FOR THE WORKING MATHEMATICIAN
A. Bowtell · Bulletin of the London Mathematical Society · 1974 · 1.3K citations
Imperative functional programming
Simon Jones, Philip Wadler · 1993 · 1.2K citations · Full text