#4433: Suboptimal rendering of long type signatures
---------------------------------+------------------------------------------
    Reporter:  osaunders         |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  GHCi              |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj):

 This would be easy to do (use `fsep` instead of `sep`) but it'd affect the
 display of all types in GHCi. That is, types would be displayed with as
 many arguments as would fit on each line.  Perhaps one on one line, three
 on the next, two on the next...
 {{{
 f :: a -> b -> c
   -> Either a b
   -> [b] -> [c]
   -> b -> c -> a
 }}}
 If that's what's wanted, it's easy to do.  Perhaps broadcast a proposal to
 ghc-users?

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4433#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to