Copyright | (c) 2015 Chris Hodapp |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
This contains functionality for converting the Ion
type to Ivory constructs.
Known issues:
- One must depend on the Ivory module that makes use of the
definitions from
ionDef
in order to reference a variable declared witharea'
. - It can be really inefficient to require a separate counter for every distinct phase within a period. Why not reuse variables here when it's within the same period, and rather than starting at the phase, counting down, and checking for zero, instead starting just one variable at 0, counting up, checking for each individual phase?
- data IonExports a = IonExports {}
- ionCompile :: Opts -> String -> Ion a -> IO a
- ionDef :: String -> Ion a -> IonExports a
- getIvory :: (eff ~ NoEffects) => Schedule -> Ivory eff ()
Documentation
:: String | Name for schedule function |
-> Ion a | Ion specification |
-> IonExports a |
Produce exports from the given Ion
specs.