[GHC] #8403: Pretty-printing of long types

GHC ghc-devs at haskell.org
Sat Apr 25 08:25:13 UTC 2015


#8403: Pretty-printing of long types
-------------------------------------+-------------------------------------
        Reporter:  monoidal          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  lowest            |               Milestone:
       Component:  Compiler          |                 Version:  7.6.3
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Other             |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #9428             |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by joehillen):

 [https://gist.github.com/joehillen/bc115c8e5d6a7587777c Just to be clear.]

 What exactly is the problem with the current formatting? It seems to make
 perfect sense and is reasonable to break at every '->' or ','. To me, the
 current behavior is more readable than the proposed alternative. Even if
 it does take up more vertical space.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8403#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list