code-builder-0.1.3: Simple system for generating code.

Safe HaskellSafe
LanguageHaskell98

Code.Build.JavaScript

Documentation

block :: CodeList a => a -> Code Source #

jsIf :: (Codeable a, CodeList b) => a -> b -> Code Source #

jsElse :: CodeList a => a -> Code Source #

for :: (Codeable a, CodeList b) => a -> b -> Code Source #

function :: CodeList a => [String] -> a -> Code Source #

call :: CodeList a => String -> a -> Code Source #

proc :: CodeList a => String -> a -> Code Source #

ret :: Codeable a => a -> Code Source #

string :: Codeable a => a -> Code Source #

new :: Codeable a => String -> a -> Code Source #

var :: Codeable a => String -> a -> Code Source #

(.=.) :: Codeable b => String -> b -> Code infix 2 Source #