on master help sign in
Update the list of built-in modules.
commitcdecb5bf30ef317231024155a54ad5bcbccdcecd authorevancz <info@elm-lang.org> dateThu 7 Feb 2013, 10:55 (14 years ago) parent4858cfa
1 file changed+4−3
elm/src/Compiler.hs+4−3
elm/src/Compiler.hs+4−3
@@ -103,9 +103,10 @@ toFilePath :: String -> FilePath
103103toFilePath modul = map (\c -> if c == '.' then '/' else c) modul ++ ".elm"
104104
105105builtInModules =
106− concat [ [ "List", "Char", "Maybe", "Dict", "Set", "Automaton", "Date" ]
107− , [ "Signal", "Mouse", "Keyboard.Raw"
108− , "Window", "Time", "HTTP", "Input", "Random" ]
106+ concat [ [ "List", "Char", "Either", "Maybe"
107+ , "Dict", "Set", "Automaton", "Date" ]
108+ , [ "Signal", "Mouse", "Keyboard.Raw", "Keyboard",
109+ , "Touch", "WebSocket", "Window", "Time", "HTTP", "Input", "Random" ]
109110 , [ "Graphics", "Text", "Color" ]
110111 , map ("JavaScript"++) [ "", ".Experimental" ]
111112 , [ "Prelude", "JSON" ]