[GHC] #11994: ghci not applying defaulting when showing type
GHC
ghc-devs at haskell.org
Thu Apr 28 21:10:27 UTC 2016
#11994: ghci not applying defaulting when showing type
-------------------------------------+-------------------------------------
Reporter: j.waldmann | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.10.3
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 j.waldmann):
> if you want defaulting ...
This is not about changing the defaulting rules. It's just about the
output of `:set +t`, which looked misleading to me.
https://mail.haskell.org/pipermail/ghc-devs/2016-April/011958.html
I did not realize that `it` is actually polymorphic. So the output is
correct. But then the type of `it` is not the type of the value that is
being printed - which is again strange.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11994#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list