Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data Stream = Typed a => Stream {
- streamId :: Id
- streamBuffer :: [a]
- streamExpr :: Expr a
- streamExprType :: Type a
- data Observer = Observer {
- observerName :: Name
- observerExpr :: Expr a
- observerExprType :: Type a
- data Trigger = Trigger {
- triggerName :: Name
- triggerGuard :: Expr Bool
- triggerArgs :: [UExpr]
- data Spec = Spec {
- specStreams :: [Stream]
- specObservers :: [Observer]
- specTriggers :: [Trigger]
- specProperties :: [Property]
- data Property = Property {
- propertyName :: Name
- propertyExpr :: Expr Bool
- data StructData = StructData {
- structName :: Name
- structFields :: [(Name, UExpr)]
Documentation
A stream.
Typed a => Stream | |
|
An observer.
Observer | |
|
A trigger.
Trigger | |
|
A Copilot specification consists of a list of variables bound to anonymous streams, a list of anomymous streams, a list of observers, a list of triggers, and a list of structs.
Spec | |
|
data StructData Source #
Struct representation as a bit array.
StructData | |
|