copilot-core-2.2.0: An intermediate representation for Copilot.

Safe HaskellSafe
LanguageHaskell2010

Copilot.Core.Spec

Synopsis

Documentation

data Stream Source

A stream.

Constructors

forall a . Typed a => Stream 

Fields

streamId :: Id
 
streamBuffer :: [a]
 
streamExpr :: Expr a
 
streamExprType :: Type a
 

data Observer Source

An observer.

Constructors

forall a . Observer 

data Trigger Source

A trigger.

Constructors

Trigger 

data Spec Source

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.

data Property Source

A property.

Constructors

Property 

data StructData Source

Struct representation as a bit array.

Constructors

StructData 

Fields

structName :: Name
 
structFields :: [(Name, UExpr)]