[GHC] #9429: Alternative to type family Any

GHC ghc-devs at haskell.org
Wed Aug 13 14:48:11 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 goldfire):

 It's not clear to me that Ryan's and Johan's uses are in conflict with the
 `Any` change. `Any` is still around and still usable in HEAD. It just
 can't appear in a type pattern -- that is, on the LHS of a type family
 equation or in an instance head. Is `Any` used in this way in the programs
 cited above? In particular, it assuredly ''is'' still possible to cast to
 `Any` and then cast back.

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


More information about the ghc-tickets mailing list