﻿id summary reporter owner description type status priority milestone component version resolution keywords cc os architecture failure testcase blockedby blocking related differential 5712 Can't define constructors to be infix (as far as Show is concerned) with GADT syntax benmachine "Okay so, if you define a data type like this: {{{ data Two a = a :. a deriving Show }}} then `show (1 :. 2) == ""1 :. 2""`. On the other hand, if you define the data type like so: {{{ data Two a = (:.) a a deriving Show }}} then `show (1 :. 2) == ""(:.) 1 2"". This kind of makes sense since how the constructor is defined by the user gives some hint as to how it should be used. The only problem is you can't give that hint if you're using GADT syntax, since then constructors are given without explicit arguments. I don't see an easy way to let you give that hint, but I think it would be reasonable to just guess that any constructor with a symbol name (i.e. one starting with `:`) should be considered infix." feature request closed normal Compiler 7.3 fixed Unknown/Multiple Unknown/Multiple Other deriving/should_run/T5712