Parameterised notions of computation
Atkey, Robert; (2006) Parameterised notions of computation. In: Workshop on Mathematically Structured Functional Programming (MSFP 2006) (MSFP). Electronic Workshops in Computing . British Computer Society, London, pp. 1-15. (https://doi.org/10.14236/ewic/MSFP2006.5)
Preview |
Text.
Filename: Atkey_MSFP_2006_Parameterised_notions_of_computation.pdf
Accepted Author Manuscript Download (241kB)| Preview |
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 such as exceptions, side-effects, input/output and continuations. We present generalisations of both constructs, 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 also considering monoidal parameterisation, 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 monoidal parameterisation — and act as prototypical languages with parameterised effects.
ORCID iDs
Atkey, Robert ORCID: https://orcid.org/0000-0002-4414-5047;-
-
Item type: Book Section ID code: 74442 Dates: DateEvent2006PublishedSubjects: Science > Mathematics > Electronic computers. Computer science Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 29 Oct 2020 15:22 Last modified: 11 Nov 2024 15:22 URI: https://strathprints.strath.ac.uk/id/eprint/74442