on master help sign in
Merge branch 'master' into dev
commitfa9bfb9f3b4189807ab7830c378b13907e9b2241 authorEvan Czaplicki <info@elm-lang.org> dateFri 2 Oct 2015, 19:28 (11 years ago) parentb614df2fc2d534
1 file changed+3
src/Elm/Compiler/Type.hs+3
src/Elm/Compiler/Type.hs+3
@@ -59,6 +59,9 @@ toDoc context tipe =
5959 P.text (if name == "_Tuple0" then "()" else name)
6060
6161 App (Type name) args
62+ | name == "_Tuple0" ->
63+ P.text "()"
64+
6265 | Help.isTuple name ->
6366 P.sep
6467 [ P.cat (zipWith (<+>) (P.lparen : repeat P.comma) (map (toDoc None) args))