[GHC] #9140: Unboxed tuples fails in GHCi (7.8.2)

GHC ghc-devs at haskell.org
Thu May 29 08:40:24 UTC 2014


#9140: Unboxed tuples fails in GHCi (7.8.2)
-------------------------------------+------------------------------------
        Reporter:  osa1              |            Owner:  archblob
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  GHCi              |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash        |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by archblob):

 The error message will print the binding without a type signature if it
 was inferred and not given by the user and would be a bit of a nuisance to
 add. I suggest that we maybe just print the thype like so {{{a :: forall
 a. Num a => (# a #)}}} instead of {{{a = (# 1, 3 #) :: forall a. Num a =>
 (# a #) }}}. I don't think any valuable info is really lost given that the
 location information is also printed.

 If this is not ok I will see what I can do with regard to printing the
 binding as per the second example.

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


More information about the ghc-tickets mailing list