@@ -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,