quickcheck-state-machine-0.0.0: Test monadic programs using state machine based models

Copyright(C) 2017 ATS Advanced Telematic Systems GmbH
LicenseBSD-style (see the file LICENSE)
MaintainerStevan Andjelkovic <stevan@advancedtelematic.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Test.StateMachine.Internal.AlphaEquality

Description

This module provides \(\alpha\)-equality for internal commands. This functionality isn't used anywhere in the library, but can be useful for writing metaproperties.

Synopsis

Documentation

alphaEq Source #

Arguments

:: forall (cmd :: Signature ix). SDecide ix 
=> IxTraversable cmd 
=> HasResponse cmd 
=> Eq (IntRefed cmd) 
=> [IntRefed cmd]

The two

-> [IntRefed cmd]

input lists.

-> Bool 

Check if two lists of commands are equal modulo \(\alpha\)-conversion.

alphaEqFork Source #

Arguments

:: forall (cmd :: Signature ix). SDecide ix 
=> IxTraversable cmd 
=> HasResponse cmd 
=> Eq (IntRefed cmd) 
=> Fork [IntRefed cmd]

The two

-> Fork [IntRefed cmd]

input forks.

-> Bool 

Check if two forks of commands are equal modulo \(\alpha\)-conversion.