@hackage / hoare

Simple tools for communicating sequential processes

Latest0.1.1.0

About

Metadata

  • Last updated , by mrkline
  • License Zlib
  • Categories Concurrency
  • Maintained by: matt@bitbashing.io

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.8.4

Readme

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.