A library for more structured concurrent programming, based on the Actor Model
|Latest on Hackage:||0.4.0|
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.
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
Control.Concurrent.Actors.spawnto transparently support "joined mailboxes", i.e. join-patterns, supporting synchronization between actors.
Control.Concurrent.Actors.spawnbecomes polymorphic in new
spawn_subsumed by polymorphic
sendand other send-like functions restricted to Mailboxes, use
outto convert arbitrary chans to Mailboxes
productMb, faninMb, and fanoutMb renamed
Control.Concurrent.Actors.contraFanout, and given more general types