[GHC] #11994: ghci not applying defaulting when showing type

GHC ghc-devs at haskell.org
Thu Apr 28 11:59:20 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
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This does not look right:

 {{{
 Prelude> :set +t
 Prelude> 1e1000
 Infinity
 it :: Fractional t => t
 }}}

 because the type actually is (defaulted to) `Double`?

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


More information about the ghc-tickets mailing list