[GHC] #9429: Alternative to type family Any

GHC ghc-devs at haskell.org
Tue Aug 12 16:18:10 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 carter):

 ok, now if we had a hypothetical  `PolyTypeable` would you have other
 remaining needs for Any?

 It occurs to me as I'm saying this, that to some extent PolyTypeable  is
 possible today via data/newtype wrapping a polymorphic type! For you use
 case, Is that a viable solution today (aesthetics aside) or is there a
 fundamental barrier to that being suitable?

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


More information about the ghc-tickets mailing list