Closed andygill closed 11 years ago
Right now we have compileJSI :: CompilerOpts -> Uniq -> Program (JSI t) () -> IO ([Stmt], Uniq) extractProgramJS :: (a -> JS t ()) -> JS t a -> Program (JSI t) ()
This can be collapsed into a single function, with a cleaner API.
It is only used inside the Comet / Server stuff.
Done.
Right now we have compileJSI :: CompilerOpts -> Uniq -> Program (JSI t) () -> IO ([Stmt], Uniq) extractProgramJS :: (a -> JS t ()) -> JS t a -> Program (JSI t) ()
This can be collapsed into a single function, with a cleaner API.
It is only used inside the Comet / Server stuff.