HasChor-0.1.0.0: Choreographic programming in Haskell
Safe HaskellSafe-Inferred
LanguageGHC2021

Choreography.Network.Local

Description

This module defines the multi-thread backend for the Network monad.

Synopsis

Documentation

type MsgBuf = HashMap LocTm (Chan String) Source #

Each location is associated with a message buffer which stores messages sent from other locations.

newtype LocalConfig Source #

Constructors

LocalConfig 

Fields

Instances

Instances details
Backend LocalConfig Source # 
Instance details

Defined in Choreography.Network.Local

Methods

runNetwork :: MonadIO m => LocalConfig -> LocTm -> Network m a -> m a Source #