nano-erl-0.1.0.1: Small library for Erlang-style actor semantics

Safe HaskellNone
LanguageHaskell2010

Control.Concurrent.NanoErl.Examples.Dominos

Description

Makes a "line of dominos" of processes which each wait for a Fall message, then terminate. The dominos are in a "circle" so they're all created before any terminate

Documentation

data Fall #

Constructors

Fall 

Instances

Show Fall # 

Methods

showsPrec :: Int -> Fall -> ShowS #

show :: Fall -> String #

showList :: [Fall] -> ShowS #

main :: IO () #