mvar-lock: A trivial lock based on MVar.

[ apache, concurrency, library ] [ Propose Tags ]

Using an MVar as a lock is a common pattern. This module just wraps that up into some functions with nice names that make the pattern explicit.

Dependencies base (>=4.9 && <4.11), safe-exceptions [details]
License Apache-2.0
Author Chris Martin <>
Maintainer Chris Martin <>
Category Concurrency
Home page
Uploaded by chris_martin at Sat Feb 10 18:21:23 UTC 2018
Distributions NixOS:
Downloads 335 total (34 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-02-10 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees