A poor man's concurrency monad

53Citations
Citations of this article
44Readers
Mendeley users who have this article in their library.

Abstract

Without adding any primitives to the language, we define a concurrency monad transformer in Haskell. This allows us to add a limited form of concurrency to any existing monad. The atomic actions of the new monad are lifted actions of the underlying monad. Some extra operations, such as fork, to initiate new processes, are provided. We discuss the implementation, and use some examples to illustrate the usefulness of this construction.

Cite

CITATION STYLE

APA

Claessen, K. (1999). A poor man’s concurrency monad. Journal of Functional Programming, 9(3), 313–323. https://doi.org/10.1017/S0956796899003342

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free