on master help sign in
Add better documentation for `runtimeLocation`.
commitd0bf8667c2edce124898a532062d127ec1e17cd5 authorevancz <info@elm-lang.org> dateWed 3 Oct 2012, 15:31 (14 years ago) parentb214741
1 file changed+4−1
elm/src/Language/Elm.hs+4−1
elm/src/Language/Elm.hs+4−1
@@ -28,7 +28,10 @@ import Paths_Elm
2828import qualified Data.Text as TS
2929import qualified Data.Text.Lazy as TL
3030
31−runtimeLocation = getDataFileName ("elm-runtime-" ++ showVersion version ++ ".js")
31+-- |The absolute path to Elm's runtime system.
32+runtimeLocation :: IO FilePath
33+runtimeLocation =
34+ getDataFileName ("elm-runtime-" ++ showVersion version ++ ".js")
3235
3336class ElmSource a where
3437 -- |This function compiles Elm code to three separate parts: HTML, CSS,