chp-spec-1.0.0: A mirror implementation of chp that generates a specification of the program

Control.Concurrent.CHPSpec.Alt

Description

A module containing the choice constructs. See http://chplib.wordpress.com/2010/04/20/automatic-model-generation-part-3-choice-and-io/ for details of how choice is modelled.

Currently conjunction is not modelled (mainly because CSP/FDR don't support it), but external choice is modelled fine; priAlt is modelled as a plain alt, though.

Documentation

alt :: [CHP a] -> CHP aSource

(<->) :: CHP a -> CHP a -> CHP aSource

priAlt :: [CHP a] -> CHP aSource

(</>) :: CHP a -> CHP a -> CHP aSource