[GHC] #8678: Derivin `Functor` complains about existential type

GHC ghc-devs at haskell.org
Sat Jan 18 20:53:54 UTC 2014


#8678: Derivin `Functor` complains about existential type
-------------------------------------+------------------------------------
        Reporter:  heisenbug         |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      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 heisenbug):

 Replying to [comment:1 carter]:
 > where does the variable {{{n}}} get introduced in {{{Standard :: a ->
 NonStandard (S n) a}}} ? That seems existential

 No, it is a variable that appears in the type of the result, so it is not
 existential.

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


More information about the ghc-tickets mailing list