[GHC] #15654: Use deriving Functor in the codebase

GHC ghc-devs at haskell.org
Tue Sep 18 21:42:48 UTC 2018


#15654: Use deriving Functor in the codebase
-------------------------------------+-------------------------------------
           Reporter:  monoidal       |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.8.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:
-------------------------------------+-------------------------------------
 In many places in compiler/ we manually define a Functor instance (`git
 grep "instance Functor"` shows 60). I think we could switch to `deriving`
 in most (or all?) cases.

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


More information about the ghc-tickets mailing list