Re: [GHC] #11825: Pretty printer doesn't display functional dependency with ‘→’

GHC ghc-devs at haskell.org
Thu May 19 10:52:08 UTC 2016


#11825: Pretty printer doesn't display functional dependency with ‘→’
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.10.3
      Resolution:                    |             Keywords:  unicode,
                                     |  UnicodeSyntax
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 Hmm, I guess it should print:
 {{{
 class Monad m ⇒
       MonadFree (f :: * → *) (m :: * → *) | m → f where
 }}}
 Note the last arrow is a unicode symbol as well.

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


More information about the ghc-tickets mailing list