on master help sign in
Add String and Tuple as default imports
commiteb97f2a5dd5421c708a91b71442e69d02453cc80 authorEvan Czaplicki <evancz@users.noreply.github.com> dateTue 1 Nov 2016, 18:59 (10 years ago) parenta17e1be
1 file changed+2
src/Elm/Compiler/Imports.hs+2
src/Elm/Compiler/Imports.hs+2
@@ -17,6 +17,8 @@ defaults =
1717 , ["List"] ==> exposing [Var.Value "::"]
1818 , ["Maybe"] ==> exposing [Var.Union "Maybe" Var.openListing]
1919 , ["Result"] ==> exposing [Var.Union "Result" Var.openListing]
20+ , ["String"] ==> Module.ImportMethod Nothing Var.closedListing
21+ , ["Tuple"] ==> Module.ImportMethod Nothing Var.closedListing
2022 , ["Platform"] ==> exposing [closedType "Program"]
2123 , ["Platform","Cmd"] ==> named "Cmd" [closedType "Cmd", Var.Value "!"]
2224 , ["Platform","Sub"] ==> named "Sub" [closedType "Sub"]