| Copyright | (c) 2015 Chris Hodapp | 
|---|---|
| Safe Haskell | None | 
| Language | Haskell2010 | 
Ivory.Language.Ion.Base
Description
- type Ion = State IonDef
- data IonDef = IonDef {}
- defaultIonDef :: IonDef
- data Schedule = Schedule {- schedId :: Integer
- schedName :: String
- schedPath :: [String]
- schedPhase :: Integer
- schedPeriod :: Integer
- schedAction :: [IvoryAction ()]
- schedCond :: [IvoryAction IBool]
 
- defaultSchedule :: Schedule
- type IvoryAction = Ivory NoEffects
- data PhaseContext
- data PhaseType
- data IonException
Documentation
A scheduled action. Phase and period here are absolute, and there are no child nodes.
Constructors
| Schedule | |
| Fields 
 | |
type IvoryAction = Ivory NoEffects Source
The type of Ivory action that an IonNode can support. Note that this
 purposely forbids breaking, returning, and allocating.
data PhaseContext Source
Constructors
| Absolute | Phase is relative to the first tick within a period | 
| Relative | Phase is relative to the last phase used | 
Instances
data IonException Source
Constructors
| InvalidCName [String] String Int | Path, C name, and index at which it is invalid | 
| PhaseExceedsPeriod [String] Integer Integer | Path, phase, period | 
| PhaseIsNegative [String] Integer | Path, phase | 
| PeriodMustBePositive [String] Integer | Path, period | 
Instances