2module Language.Elm where
5import Text.Blaze.Html (Html)
7-- | The 'compileToHtml' function takes three string arguments: the
8-- location of the Elm runtime (elm-mini.js), the title to be used in
9-- the resulting HTML page, and the Elm source code. For example,
11-- > compileToHtml "/elm-mini.js" "Hello, World!" "main = plainText \"Hello, World!\""
13compileToHtml :: String -> String -> String -> Html
14compileToHtml libLoc fileName source =
15 generateHtml libLoc fileName source
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list