From: simonpj@microsoft.com Date: Thu, 23 Jul 2009 12:57:56 +0000 (+0000) Subject: Wibble to printing tuple sections X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ad2c24f54a992e7dc4c203b5504bec175c4acc98 Wibble to printing tuple sections --- diff --git a/compiler/hsSyn/HsExpr.lhs b/compiler/hsSyn/HsExpr.lhs index 3142abc..0800175 100644 --- a/compiler/hsSyn/HsExpr.lhs +++ b/compiler/hsSyn/HsExpr.lhs @@ -392,7 +392,7 @@ ppr_expr (ExplicitTuple exprs boxity) where ppr_tup_args [] = [] ppr_tup_args (Present e : es) = (ppr_lexpr e <> punc es) : ppr_tup_args es - ppr_tup_args (Missing _ : es) = comma : ppr_tup_args es + ppr_tup_args (Missing _ : es) = punc es : ppr_tup_args es punc (Present {} : _) = comma <> space punc (Missing {} : _) = comma