Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Abstract representation of an Ogma specification.
Synopsis
- data Spec a = Spec {}
- data InternalVariableDef = InternalVariableDef {}
- data ExternalVariableDef = ExternalVariableDef {}
- data Requirement a = Requirement {}
Documentation
Abstract representation of an Ogma specification.
data InternalVariableDef Source #
Internal variable definition, with a given name, its type and definining expression.
Instances
Show InternalVariableDef Source # | |
Defined in Data.OgmaSpec showsPrec :: Int -> InternalVariableDef -> ShowS # show :: InternalVariableDef -> String # showList :: [InternalVariableDef] -> ShowS # |
data ExternalVariableDef Source #
External variable definition, with a given name and type.
The value of external variables is assigned outside Copilot, so they have no defining expression in this type.
Instances
Show ExternalVariableDef Source # | |
Defined in Data.OgmaSpec showsPrec :: Int -> ExternalVariableDef -> ShowS # show :: ExternalVariableDef -> String # showList :: [ExternalVariableDef] -> ShowS # |
data Requirement a Source #
Requirement with a given name and a boolean expression.
Instances
Show a => Show (Requirement a) Source # | |
Defined in Data.OgmaSpec showsPrec :: Int -> Requirement a -> ShowS # show :: Requirement a -> String # showList :: [Requirement a] -> ShowS # |