[fix pretty printing of tuples
Helmut Grohne <grohne@cs.uni-bonn.de>**20150217093201
 Ignore-this: b5627b27363f09333cf6853586ff2245
 
 The pretty printer could cause an rror when a ConT was applied to exactly one
 argument by checking whether its name is tupleTypeName 1. Use isAnyTuple
 instead which does not suffer from this issue.
 
 Thus isAnyTuple should also recognize empty tuple () in order to not regress
 pretty printing here.
 
 Since there is no Name for one-element tuples, the cases covering for these can
 be removed.
] hunk ./src/Syntax/Name.hs 19
-isAnyTuple n = any (isTuple n) [2..15]
+isAnyTuple n = any (isTuple n) (0:[2..15])
hunk ./src/Syntax/Ppr.hs 74
-  | n == tupleTypeName (length args) = parens (sep (punctuate comma (map pretty args)))
+  | isAnyTuple n   = parens (sep (punctuate comma (map pretty args)))
hunk ./src/Syntax/Ppr.hs 173
-        (_,    True, [component])   -> component -- not really necessary, but removes parenthesis from 1-ary tuples introduced during cata
hunk ./src/Syntax/Ppr.hs 191
-         (_,    True, [component])     -> component