[GHC] #13039: Add options to select GHCi prompt type errors

GHC ghc-devs at haskell.org
Wed Dec 28 20:34:57 UTC 2016


#13039: Add options to select GHCi prompt type errors
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:  8.4.1
       Component:  GHCi              |              Version:  8.0.1
      Resolution:                    |             Keywords:
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 rwbarton):

 I don't like the idea of adding options here since they will only benefit
 those who know about them; and I don't think those will be the same people
 as the people who have trouble with the existing behavior. (And if you
 really want to know why `void e :: IO ()` didn't type check then you can
 enter `void e :: IO ()` into ghci; and that's much more obvious than
 turning on an option.)

 I do think that it'd be reasonable to improve the (default) behavior when
 `e` type checks but `print e` does not (presumably due to a missing `Show`
 instance).

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


More information about the ghc-tickets mailing list