Elm-0.10.1: The Elm language module.
Elm.Internal.Utils
Description
This module exports functions for compiling Elm to JS.
Synopsis
compile :: String -> Either String StringSource
This function compiles Elm code to JavaScript. It will return either an error message or the compiled JS code.
moduleName :: String -> Maybe StringSource
This function extracts the module name of a given source program.