Deprecated

AVar

Mutable variables with Exception handling and concurrency support.

Latest on Hackage:0.0.5.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Alex Mason
Maintained by Alex Mason

AVars emulate mutable variables, by providing a queue based interface to interacting with the variable. Each variable runs a handler function, which reads requests from a queue and processes them one by one. They can be used in concurrent systems safely, and should handle exceptions thrown by modifying functions gracefully. There is also an unsafe interface through Data.AVar.Unsafe, which will throw any errors encountered while modifying the variable. New in this version: * Fixed a (MASSIVE) mistake where i had forgotten to export the newAVar function. * Gave in and exported Data.AVar.Internal

Depends on:
Used by 1 package:
comments powered byDisqus