code-builder-0.1.3: Simple system for generating code.
Code.Build.JavaScript
jsObject :: [(String, Code)] -> CodeSource
statements :: CodeList a => a -> CodeSource
block :: CodeList a => a -> CodeSource
jsIf :: (Codeable a, CodeList b) => a -> b -> CodeSource
jsElse :: CodeList a => a -> CodeSource
for :: (Codeable a, CodeList b) => a -> b -> CodeSource
function :: CodeList a => [String] -> a -> CodeSource
functionDecl :: CodeList a => String -> [String] -> a -> CodeSource
call :: CodeList a => String -> a -> CodeSource
proc :: CodeList a => String -> a -> CodeSource
ret :: Codeable a => a -> CodeSource
string :: Codeable a => a -> CodeSource
new :: Codeable a => String -> a -> CodeSource
var :: Codeable a => String -> a -> CodeSource
(.=.) :: Codeable b => String -> b -> CodeSource