| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hermod.ReCon.LTL.Check
Synopsis
- checkIntTerm :: Set VariableIdentifier -> IntTerm -> [Error]
- checkTextTerm :: Set VariableIdentifier -> TextTerm -> [Error]
- checkParamConstraint :: Set VariableIdentifier -> PropConstraint -> [Error]
- checkFormula :: Set VariableIdentifier -> Formula event ty -> [Error]
- data Error = UnboundVariableIdentifier VariableIdentifier
- prettyError :: Error -> Text
Documentation
checkIntTerm :: Set VariableIdentifier -> IntTerm -> [Error] Source #
Validate an integer term by checking all of its free variables are bound.
checkTextTerm :: Set VariableIdentifier -> TextTerm -> [Error] Source #
Validate a text term by checking all of its free variables are bound.
checkParamConstraint :: Set VariableIdentifier -> PropConstraint -> [Error] Source #
Validate a constraint by ensuring its term is well-scoped.
checkFormula :: Set VariableIdentifier -> Formula event ty -> [Error] Source #
Check whether the formula is syntactically valid.
Constructors
| UnboundVariableIdentifier VariableIdentifier |
prettyError :: Error -> Text Source #