[GHC] #9429: Alternative to type family Any

GHC ghc-devs at haskell.org
Mon Aug 18 09:00:29 UTC 2014


#9429: Alternative to type family Any
-------------------------------------+-------------------------------------
              Reporter:  mboes       |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:  9097, 9380
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 If the issue is getting a type rep for a polymorphic type, let's address
 ''that'' problem directly, rather than hack a solution (by representing
 `forall a. a->a` as `Any -> Any`) in which the hack itself has pervasive
 negative consequences.

 See also #7015, where this same issue arises.

 Simon

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


More information about the ghc-tickets mailing list