[GHC] #9190: Iface type variable out of scope: s

GHC ghc-devs at haskell.org
Wed Jun 11 08:59:08 UTC 2014


#9190: Iface type variable out of scope:  s
-------------------------------------+------------------------------------
        Reporter:  nomeata           |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.9
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by nomeata):

 The interface of `Numeric.Sum`, when printed with GHC 7.6.3, looks like
 this
 {{{
   axiom TFCo:R:MVectorsKBNSum [(s0, *)]
     :: Data.Vector.Unboxed.Base.MVector
            s0 Numeric.Sum.KBNSum ~# Numeric.Sum.R:MVectorsKBNSum s0
 }}}

 Does `[(s0,*)]` indicate the type variables this axiom is abstracted over?

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


More information about the ghc-tickets mailing list