hoare: Simple tools for communicating sequential processes

[ concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

Hoare was right—many concurrent programs can be simply expressed as a series of concurrent actors (threads) consuming and producing messages. Haskell provides uniquely great tools (green threads and STM) for doing so. This package provides:

  • Functions for using bounded STM types like TBQueue and TMVar as channels between threads.

  • A closeable TBCQueue for programs where the input ends.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Dependencies async (>=2.2 && <3), base (>=4.4 && <5), deepseq (>=1.5 && <2), stm (>=2.5 && <3) [details]
Tested with ghc ==9.8.4
License Zlib
Author Matt Kline
Maintainer matt@bitbashing.io
Category Concurrency
Source repo head: git clone https://github.com/mrkline/hoare
Uploaded by mrkline at 2025-04-14T02:45:05Z
Distributions
Downloads 4 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]