From eb97f2a5dd5421c708a91b71442e69d02453cc80 Mon Sep 17 00:00:00 2001 From: Evan Czaplicki Date: Tue, 1 Nov 2016 18:59:20 -0700 Subject: [PATCH] Add String and Tuple as default imports --- src/Elm/Compiler/Imports.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Elm/Compiler/Imports.hs b/src/Elm/Compiler/Imports.hs index 4faaa1ea3..c95791942 100644 --- a/src/Elm/Compiler/Imports.hs +++ b/src/Elm/Compiler/Imports.hs @@ -17,6 +17,8 @@ defaults = , ["List"] ==> exposing [Var.Value "::"] , ["Maybe"] ==> exposing [Var.Union "Maybe" Var.openListing] , ["Result"] ==> exposing [Var.Union "Result" Var.openListing] + , ["String"] ==> Module.ImportMethod Nothing Var.closedListing + , ["Tuple"] ==> Module.ImportMethod Nothing Var.closedListing , ["Platform"] ==> exposing [closedType "Program"] , ["Platform","Cmd"] ==> named "Cmd" [closedType "Cmd", Var.Value "!"] , ["Platform","Sub"] ==> named "Sub" [closedType "Sub"]