The simple-actors package
simple-actors is an EDSL-style library for writing more structured concurrent programs, based on the Actor Model. Computations are structured as Behaviors which take a single input value, perform some Actions, and return the Behavior to process the next input message it receives.
We also extend the strict actor model in various elegant ways. See source for this type of discussion.
CHANGES: 0.3.0 - 0.4
extend Control.Concurrent.Actors.spawn to transparently support joined mailboxes, i.e. join-patterns, supporting synchronization between actors. Control.Concurrent.Actors.spawn becomes polymorphic in new Control.Concurrent.Actors.Sources class
old spawn_ subsumed by polymorphic spawn, with ()
send and other send-like functions restricted to Mailboxes, use out to convert arbitrary chans to Mailboxes
productMb, faninMb, and fanoutMb renamed Control.Concurrent.Actors.contraProduct, Control.Concurrent.Actors.contraFanin, and Control.Concurrent.Actors.contraFanout, and given more general types
old spawnReading removed
|Versions||0.0.1, 0.1.0, 0.2.0, 0.2.1, 0.3.0, 0.4.0|
|Dependencies||base (≥4.3 & <5), chan-split (≥0.4.0), contravariant (≥0.2.0.1), mtl (≥2.1.1), transformers (≥0.3)|
|Source repository||git clone https://github.com/jberryman/simple-actors.git|
|Upload date||Wed Aug 22 03:23:17 UTC 2012|