(c) 2014 ForkkMITforkk@forkk.net experimentalGHC only (requires throwTo) Safe-InferredThe base actor monad. "The type for the actor's mail box. The   holds shared information about a given actor. This is information such as the actor's mail box, the list of actors it's linked to, etc.An ) acts as a reference to a specific actor.The y class must be implemented by any type that will be sent as a message to actors. Any given type of actor will have one  type that is sent to that actor. This ensures type safety. Currently this is simply a dummy class with nothing in it, but things may be added in the future.#Gets a handle to the current actor. -Retrieves the mail box for the current actor.Reads a message from the actor's mail box. If there are no messages, blocks until one is received. If you don't want this, use  instead.NReads a message from the actor's mail box. If there are no messages, returns .BSends a message to the given actor handle. This is secretly just  lifted into an actor monad.CSends a message to the given actor handle from within the IO monad.6Internal function for starting actors. This takes an  action, makes a channel for it, wraps it in exception handling stuff, and turns it into an IO monad. The function returns a tuple containing the actor's context and the IO action to execute the actor.DSpawns the given actor on another thread and returns a handle to it. Runs the given actor on the current thread. This function effectively turns the current thread into the actor's thread. Obviously, this means that this function will block until the actor exits. You probably want to use this for your "main" actor.'Gets the mail box for the given handle. .Gets the thread ID for the given actor handle.                 hactor-1.0.0.0Control.Concurrent.ActorActorM ActorHandle ActorMessageselfreceive receiveMaybesendsendIO spawnActorrunActor actorThreadMailBox ActorContext myMailBoxbase Data.MaybeNothing wrapActor handleMailBox acMailBox ahContextahThread$fActorMessage()