Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Convert Disciple Core to PHP code
Documentation
phpOfDataDefs :: [DataDef Name] -> Doc Source #
makeFunction :: Show a => Maybe (Bind Name) -> [(Bool, Bind Name)] -> Exp a Name -> Map Name Int -> Doc Source #
bare_name_b :: Bind Name -> Doc Source #
var_name_b :: Bind Name -> Doc Source #
var_name_u :: Bound Name -> Doc Source #
var_name_t :: String -> Doc Source #
obj_field_tt :: String -> String -> Doc Source #
sanitise_prim :: Name -> Doc Source #
phpOfPrimOp :: Name -> [Doc] -> Doc Source #