Safe Haskell | Safe-Infered |
---|
- compileToHtml :: String -> String -> String -> Html
Documentation
compileToHtml :: String -> String -> String -> HtmlSource
The compileToHtml
function takes three string arguments: the
location of the Elm runtime (elm-mini.js), the title to be used in
the resulting HTML page, and the Elm source code. For example,
compileToHtml "/elm-mini.js" "Hello, World!" "main = plainText \"Hello, World!\""