[GHC] #15655: Simpliify tcTyConScopedTyVars

GHC ghc-devs at haskell.org
Tue Sep 18 22:04:42 UTC 2018


#15655: Simpliify tcTyConScopedTyVars
-------------------------------------+-------------------------------------
           Reporter:  simonpj        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently we have
 {{{
         tcTyConScopedTyVars :: [(Name,TyVar)],
 }}}
 But actually every call of `mkTcTyCon` passes something like
 `(mkTyVarNamePairs tvs)` to it.  So we could noticeably simplify this to
 {{{
         tcTyConScopedTyVars :: [TyVar],
 }}}
 Less fiddling around.

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


More information about the ghc-tickets mailing list