[GHC] #4459: Polymorphic Data.Dynamic

GHC cvs-ghc at haskell.org
Sun Jun 26 05:55:38 CEST 2011


#4459: Polymorphic Data.Dynamic
-----------------------------------------------------+----------------------
    Reporter:  vivian                                |        Owner:  vivian      
        Type:  feature request                       |       Status:  new         
    Priority:  normal                                |    Milestone:  7.4.1       
   Component:  GHC API                               |      Version:  7.1         
    Keywords:  polymorphic, dynamic, class, linking  |     Testcase:              
   Blockedby:                                        |   Difficulty:              
          Os:  Unknown/Multiple                      |     Blocking:  4316        
Architecture:  Unknown/Multiple                      |      Failure:  None/Unknown
-----------------------------------------------------+----------------------

Comment(by vivian):

 Replying to [comment:7 vivian]:
 > * I can figure out the resulting type using `mkAppTy` but that takes
 `Type`s not `TyThings`.  What is the correct way of getting a `Type` from
 a `TyThing`?
 >
 After some perusal, I have found `mkTyVarTy`, `mkTyConTy`, and so on which
 can be used to turn `TyThing`s into `Type`s.  Is this the correct way?

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



More information about the Glasgow-haskell-bugs mailing list