A fast concurrent unique identifier supply with a pure API

Version on this page:
LTS Haskell 22.22:0.1.8@rev:2
Stackage Nightly 2024-05-22:0.1.8@rev:2
Latest on Hackage:0.1.8@rev:2

See all snapshots concurrent-supply appears in

BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:concurrent-supply-,1576

Module documentation for

A fast supply of concurrent unique identifiers suitable for use within a single process. Once the initial Supply has been initialized, the remainder of the API is pure. See Control.Concurrent.Supply for details.



  • -fno-full-laziness was added to work around changes in the GHC inliner.


  • Claim to be Trustworthy
  • Added a simple example