Skip to content

Commit

Permalink
Add String and Tuple as default imports
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Nov 2, 2016
1 parent a17e1be commit eb97f2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Elm/Compiler/Imports.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit eb97f2a

Please sign in to comment.