[GHC] #12363: Type application for infix

GHC ghc-devs at haskell.org
Mon Jul 25 18:56:29 UTC 2016


#12363: Type application for infix
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (Parser)                           |             Keywords:
      Resolution:                    |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 This is interesting. Usually Haddock displays

 {{{#!hs
 ((~) * a b, Data a) => Data ((:~:) * a b)
 }}}

 This could be
 {{{#!hs
 (a ~ @* b, Data a) => Data (q :~: @* b)
 }}}

 The asymmetry is awkward but I prefer it to the current version.

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


More information about the ghc-tickets mailing list