Copyright | (C) 2017 ATS Advanced Telematic Systems GmbH |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Stevan Andjelkovic <stevan@advancedtelematic.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This module provides scope-checking for internal actions. This functionality isn't used anywhere in the library, but can be useful for writing metaproperties.
- scopeCheck :: forall act. HFoldable act => Program act -> Bool
- scopeCheckParallel :: HFoldable act => ParallelProgram act -> Bool
Documentation
scopeCheck :: forall act. HFoldable act => Program act -> Bool Source #
Scope-check a program, i.e. make sure that no action uses a reference that doesn't exist.
scopeCheckParallel :: HFoldable act => ParallelProgram act -> Bool Source #
Same as above, but for parallel programs.