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

GHC ghc-devs at haskell.org
Wed May 28 08:20:16 UTC 2014


#9140: Unboxed tuples fails in GHCi (7.8.2)
-------------------------------------+------------------------------------
        Reporter:  osa1              |            Owner:
            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):

 This should probably say {{{GHCi can't bind a variable of unlifted type: a
 :: (# Integer #)}}} and by doing {{{:set -XMonomorphismRestriction}}} it
 sure does. Otherwise it gets generalised to {{{Num a => (# a #)}}}.

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


More information about the ghc-tickets mailing list