on master help sign in
Import qualified Text module by default
commitf9cc4516d8396542480743a69c8cda4a539d90ca authorEvan Czaplicki <info@elm-lang.org> dateWed 31 Jul 2013, 23:47 (13 years ago) parent8f1f15c
1 file changed+2−2
compiler/Metadata/Prelude.hs+2−2
compiler/Metadata/Prelude.hs+2−2
@@ -22,9 +22,9 @@ add (Module name exs ims stmts) = Module name exs (customIms ++ ims) stmts
2222 Just _ -> []
2323
2424prelude :: [(String, ImportMethod)]
25−prelude = text : map (\n -> (n, Hiding [])) modules
25+prelude = text ++ map (\n -> (n, Hiding [])) modules
2626 where
27− text = ("Text", Hiding ["link", "color", "height"])
27+ text = map ((,) "Text") [ As "Text", Hiding ["link", "color", "height"] ]
2828 modules = [ "Basics", "Signal", "List", "Maybe", "Time"
2929 , "Graphics.Element", "Color", "Graphics.Collage" ]
3030