A library for more structured concurrent programming, based on the Actor Model.
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.spawnto transparently support "joined mailboxes", i.e. join-patterns, supporting synchronization between actors.Control.Concurrent.Actors.spawnbecomes polymorphic in newControl.Concurrent.Actors.Sourcesclassold
spawn_subsumed by polymorphicspawn, with()sendand other send-like functions restricted to Mailboxes, useoutto convert arbitrary chans to MailboxesproductMb, faninMb, and fanoutMb renamed
Control.Concurrent.Actors.contraProduct,Control.Concurrent.Actors.contraFanin, andControl.Concurrent.Actors.contraFanout, and given more general typesold
spawnReadingremoved