io-classes-1.8.0.1

Synopsis

Type classes for concurrency with STM, ST and timing

Description

IO Monad class hierarchy compatible with: * [io-sim](https://hackage.haskell.org/package/io-sim), * [base](https://hackage.haskell.org/package/base), * [async](https://hackage.haskell.org/package/async), * [stm](https://hackage.haskell.org/package/stm), * [exceptions](https://hackage.haskell.org/package/exceptions) & * [time](https://hackage.haskell.org/package/time) packages. = Sublibraries @io-classes@ provides non-standard extensions distributed in public sublibraries * @io-classes:io-classes@ - the main library compatible with the above packages * @io-classes:strict-stm@ - strict @STM@ API * @io-classes:strict-mvar@ - strict @MVar@ API * @io-classes:si-timers@ - SI-unit based time / timers API, cancellable timers * @io-classes:mtl@ - MTL instances, some of which are experiemental = Documentation Haddocks of all public sublibraries are published [here](https://input-output-hk.github.io/io-sim).

Author

Alexander Vieth, Duncan Coutts, Marcin Szamotulski, Neil Davies, Thomas Winant

Maintainer

Duncan Coutts duncan@well-typed.com, Marcin Szamotulski coot@coot.me

License

Apache-2.0

Source
https://github.com/input-output-hk/io-sim
Commit hash
7bb26bf139b6e9386d1e8d49f6cba1f0f3342e70
Subdir
io-classes
Timestamp

2026-03-24T08:52:16Z

Revisions

None

Dependencies
library io-classes:
  • ["base >=4.16 && <4.22","array","async >=2.1 && <2.3","bytestring","mtl >=2.2 && <2.4","primitive >=0.7 && <0.11","stm >=2.5 && <2.5.2 || ^>=2.5.3","time >=1.9.1 && <1.13"]

if impl(ghc >=9.10)

  • ghc-internal
library strict-stm:
  • ["base","array","io-classes"]
library strict-mvar:
  • ["base","io-classes"]
library si-timers:
  • ["base","deepseq","mtl","nothunks","stm","time","io-classes"]
library mtl:
  • ["base","array","mtl","io-classes:{io-classes,si-timers}"]
library testlib:
  • ["base","nothunks","QuickCheck","io-classes:strict-mvar"]
test-suite test-strict-mvar:
  • ["base","QuickCheck","tasty","tasty-quickcheck","io-classes:testlib"]
test-suite test-si-timers:
  • ["base","QuickCheck","tasty","tasty-quickcheck","io-classes:si-timers"]