copilot-language-2.1.1: A Haskell-embedded DSL for monitoring hard real-time distributed systems.

Safe HaskellSafe

Copilot.Language

Description

Main Copilot language export file.

Synopsis

Documentation

module Data.Int

module Data.Word

csv :: Integer -> Spec -> IO ()Source

interpret :: Integer -> Spec -> IO ()Source

Much slower, but pretty-printed interpreter output.

type Spec = Writer [SpecItem] ()Source

data Stream Source

Instances

Eq (Stream a)

Dummy instance in order to make Stream an instance of Num.

(Typed a, Eq a, Floating a) => Floating (Stream a) 
(Typed a, Eq a, Fractional a) => Fractional (Stream a) 
(Typed a, Eq a, Num a) => Num (Stream a) 
Show (Stream a)

Dummy instance in order to make Stream an instance of Num.

(Typed a, Bits a) => Bits (Stream a) 

trigger :: String -> Stream Bool -> [Arg] -> SpecSource

arg :: Typed a => Stream a -> ArgSource