jmacro-0.6.14: QuasiQuotation library for programmatic generation of Javascript code.

Safe HaskellNone
LanguageHaskell98

Language.Javascript.JMacro.Util

Documentation

(<>) :: ToJExpr a => JExpr -> a -> JExpr Source

(=:) :: ToJExpr a => JExpr -> a -> JStat infixl 2 Source

($) :: (ToJExpr a, ToJExpr b) => a -> b -> JExpr Source

($$) :: (ToJExpr a, ToJExpr b) => a -> b -> JStat Source

(<) :: JExpr -> JExpr -> JExpr infix 4 Source

(&&) :: JExpr -> JExpr -> JExpr infixr 3 Source

new :: ToJExpr a => a -> JExpr Source

if' :: (ToJExpr a, ToStat b) => a -> b -> JStat Source

ifElse :: (ToJExpr a, ToStat b, ToStat c) => a -> b -> c -> JStat Source

while :: ToJExpr a => a -> JStat -> JStat Source

return :: ToJExpr a => a -> JStat Source