on master help sign in
Update the list of built-in modules.
cdecb5bevancz
elm/src/Compiler.hs+4−3
@@ -103,9 +103,10 @@ toFilePath :: String -> FilePath
103toFilePath modul = map (\c -> if c == '.' then '/' else c) modul ++ ".elm"
103toFilePath modul = map (\c -> if c == '.' then '/' else c) modul ++ ".elm"
104
104
105builtInModules =
105builtInModules =
106+ concat [ [ "List", "Char", "Either", "Maybe"
106− concat [ [ "List", "Char", "Maybe", "Dict", "Set", "Automaton", "Date" ]
107+ , "Dict", "Set", "Automaton", "Date" ]
107− , [ "Signal", "Mouse", "Keyboard.Raw"
108+ , [ "Signal", "Mouse", "Keyboard.Raw", "Keyboard",
108− , "Window", "Time", "HTTP", "Input", "Random" ]
109+ , "Touch", "WebSocket", "Window", "Time", "HTTP", "Input", "Random" ]
109 , [ "Graphics", "Text", "Color" ]
110 , [ "Graphics", "Text", "Color" ]
110 , map ("JavaScript"++) [ "", ".Experimental" ]
111 , map ("JavaScript"++) [ "", ".Experimental" ]
111 , [ "Prelude", "JSON" ]
112 , [ "Prelude", "JSON" ]