[GHC] #13006: Possible program should type check but does not using Implicit Parameters and Vectors

GHC ghc-devs at haskell.org
Mon Dec 19 14:17:34 UTC 2016


#13006: Possible program should type check but does not using Implicit Parameters
and Vectors
-------------------------------------+-------------------------------------
        Reporter:  clinton           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2-rc2
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by clinton):

 Thank you for the explanation, but why does the code happily compile when
 `type T m = D m`? Your explanation above seems independent of the exact
 definition of `T`, so is there an alternate bug for the `type T m = D m`
 case where the code compiles when it shouldn't?

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


More information about the ghc-tickets mailing list