[GHC] #9091: print and/or apply constraints when showing info for typed holes

GHC ghc-devs at haskell.org
Fri May 9 17:37:49 UTC 2014


#9091: print and/or apply constraints when showing info for typed holes
--------------------------------------------+------------------------------
        Reporter:  kosmikus                 |            Owner:
            Type:  feature request          |           Status:  new
        Priority:  normal                   |        Milestone:
       Component:  Compiler (Type checker)  |          Version:  7.8.2
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  None/Unknown             |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by kosmikus):

 I'd certainly also be ok with distinguishing givens and wanteds, and I
 agree that it may make things much clearer in practice. I'd prefer
 slightly shorter messages than the ones you suggest, but that's a minor
 point.

 Regarding implication constraints: perhaps I'm missing something, but
 aren't these always global? I wouldn't include global knowledge in hole
 information.

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


More information about the ghc-tickets mailing list