tests
Safe HaskellNone
LanguageHaskell2010

Test.Control.State.Transition.Examples.GlobalSum

Description

Simple example of a transition system whose states contain the sum of the integers seen in the signals, where sum is an abstract monoidal sum given in the enviroment.

Documentation

newtype Ops Source #

Constructors

Ops 

Fields

data GSUM Source #

Instances

Instances details
STS GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type BaseM GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type Environment GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type Environment GSUM = ()
type Event GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type PredicateFailure GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type Signal GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type Signal GSUM = [Int]
type State GSUM Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

type State GSUM = Int

newtype GSUMEvent Source #

Constructors

ErrorEvent Void 

Instances

Instances details
Show GSUMEvent Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

Methods

showsPrecIntGSUMEventShowS #

showGSUMEventString #

showList ∷ [GSUMEvent] → ShowS #

Eq GSUMEvent Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

Methods

(==)GSUMEventGSUMEventBool #

(/=)GSUMEventGSUMEventBool #

data NoFailure Source #

Constructors

NoFailure 

Instances

Instances details
Show NoFailure Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

Methods

showsPrecIntNoFailureShowS #

showNoFailureString #

showList ∷ [NoFailure] → ShowS #

Eq NoFailure Source # 
Instance details

Defined in Test.Control.State.Transition.Examples.GlobalSum

Methods

(==)NoFailureNoFailureBool #

(/=)NoFailureNoFailureBool #